Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 109 kB / 20.48 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 210.7 kB / 23.79 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.433/1.433, allocations: 230.6 MB / 257.5 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.006/1.006, allocations: 150 MB / 464 MB, free: 10.92 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 62.88 kB / 0.642 GB, free: 10.79 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1858, allocations: 89.17 MB / 0.7291 GB, free: 1.68 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002494/0.1883, allocations: 1.294 MB / 0.7304 GB, free: 384 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.1894, allocations: 0.5994 MB / 0.731 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.012e-05/0.1894, allocations: 0 / 0.731 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.912e-05/0.1894, allocations: 0 / 0.731 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.946e-05/0.1895, allocations: 3.938 kB / 0.731 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005607/0.19, allocations: 139.4 kB / 0.7311 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.306e-05/0.1901, allocations: 23.92 kB / 0.7311 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.574e-05/0.1902, allocations: 3.984 kB / 0.7311 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.446e-05/0.1902, allocations: 7.938 kB / 0.7311 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.292e-05/0.1903, allocations: 11.98 kB / 0.7311 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.1903, allocations: 4 kB / 0.7312 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005647/0.1908, allocations: 343.3 kB / 0.7315 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.783e-05/0.1909, allocations: 11.88 kB / 0.7315 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.594e-05/0.1909, allocations: 4 kB / 0.7315 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002713/0.1912, allocations: 151.5 kB / 0.7316 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.1912, allocations: 0 / 0.7316 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.208e-06/0.1912, allocations: 4 kB / 0.7316 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.1912, allocations: 0 / 0.7316 GB, free: 15.08 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005175/0.1917, allocations: 286 kB / 0.7319 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.1917, allocations: 8.031 kB / 0.7319 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.372e-05/0.1917, allocations: 192 / 0.7319 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.05e-05/0.1918, allocations: 30.75 kB / 0.732 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.777e-05/0.1918, allocations: 8.938 kB / 0.732 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.1919, allocations: 110.5 kB / 0.7321 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.1919, allocations: 4.375 kB / 0.7321 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.1919, allocations: 7.922 kB / 0.7321 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.192, allocations: 41.64 kB / 0.7321 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.1921, allocations: 3.984 kB / 0.7321 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.1921, allocations: 0 / 0.7321 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1921, allocations: 0 / 0.7321 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.312e-05/0.1921, allocations: 15.98 kB / 0.7321 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003455/0.1925, allocations: 235.9 kB / 0.7324 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.1927, allocations: 42.62 kB / 0.7324 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.051e-05/0.1927, allocations: 24.78 kB / 0.7324 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.1928, allocations: 0 / 0.7324 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.1928, allocations: 30.56 kB / 0.7325 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.1928, allocations: 0 / 0.7325 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.000178/0.193, allocations: 65.64 kB / 0.7325 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.193, allocations: 51.41 kB / 0.7326 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.559e-05/0.1931, allocations: 97.86 kB / 0.7327 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.1931, allocations: 25.7 kB / 0.7327 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.32e-05/0.1932, allocations: 84.12 kB / 0.7328 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.32e-05/0.1932, allocations: 11.91 kB / 0.7328 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/0.1932, allocations: 17.72 kB / 0.7328 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1933, allocations: 318.7 kB / 0.7331 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.328e-05/0.1934, allocations: 15.98 kB / 0.7331 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.593e-05/0.1934, allocations: 25.72 kB / 0.7331 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.968e-05/0.1934, allocations: 25.7 kB / 0.7332 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1934, allocations: 0 / 0.7332 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.494e-05/0.1935, allocations: 61.62 kB / 0.7332 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.1936, allocations: 4 kB / 0.7332 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.1936, allocations: 0 / 0.7332 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.1936, allocations: 8.031 kB / 0.7332 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.591e-05/0.1936, allocations: 11.94 kB / 0.7332 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1936, allocations: 0 / 0.7332 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.484e-05/0.1936, allocations: 3.953 kB / 0.7332 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.1937, allocations: 3.984 kB / 0.7333 GB, free: 13.23 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.228e-05/0.1937, allocations: 117.8 kB / 0.7334 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.214e-05/0.1938, allocations: 0 / 0.7334 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001404/0.1939, allocations: 69.66 kB / 0.7334 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.1939, allocations: 4 kB / 0.7334 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1939, allocations: 0 / 0.7334 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.1939, allocations: 4.031 kB / 0.7334 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.1941, allocations: 136.6 kB / 0.7336 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1941, allocations: 0 / 0.7336 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.382e-05/0.1941, allocations: 4 kB / 0.7336 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.1941, allocations: 4 kB / 0.7336 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.1941, allocations: 0 / 0.7336 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1941, allocations: 0 / 0.7336 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1941, allocations: 0 / 0.7336 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.1943, allocations: 163.4 kB / 0.7337 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.46e-06/0.1943, allocations: 0 / 0.7337 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.1943, allocations: 4 kB / 0.7337 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.123e-05/0.1943, allocations: 4 kB / 0.7337 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.14e-05/0.1943, allocations: 0 / 0.7337 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.1943, allocations: 0 / 0.7337 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.26e-05/0.1944, allocations: 83.27 kB / 0.7338 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1944, allocations: 0 / 0.7338 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002464/0.1946, allocations: 27.88 kB / 0.7338 GB, free: 12.54 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005153/0.1951, allocations: 0.7006 MB / 0.7345 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001028/0.1952, allocations: 19.98 kB / 0.7345 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1952, allocations: 0 / 0.7345 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.487e-05/0.1953, allocations: 11.94 kB / 0.7346 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.1955, allocations: 15.28 kB / 0.7346 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005139/0.196, allocations: 160.3 kB / 0.7347 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.1963, allocations: 0.6768 MB / 0.7354 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.129e-05/0.1964, allocations: 4 kB / 0.7354 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/0.1964, allocations: 15.44 kB / 0.7354 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.1964, allocations: 0 / 0.7354 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02134/0.2177, allocations: 1.536 MB / 0.7369 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.56, allocations: 17.02 kB / 0.7369 GB, free: 9.453 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.331347914994694] Failed to read output from testmodel.py, exit status != 0: 11.721208564005792 11.739318579 11.544672481 Calling exit ...