Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.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.0007582/0.0007582, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007662/0.0007662, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8933/0.8933, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00138/0.00138, allocations: 232 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.674/0.674, allocations: 138.4 MB / 454.3 MB, free: 29.94 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.6463 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.408e-05/1.554e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.2249/0.2249, allocations: 1.988 MB / 0.6482 GB, free: 55.9 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001645/0.2266, allocations: 1.523 MB / 0.6497 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.54e-05/0.2266, allocations: 1.906 kB / 0.6497 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 4.714e-05/0.2267, allocations: 20.59 kB / 0.6497 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 7.705e-05/0.2267, allocations: 54.25 kB / 0.6498 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006969/0.2274, allocations: 368.4 kB / 0.6501 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002042/0.2276, allocations: 236.3 kB / 0.6504 GB, free: 55.4 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.2278, allocations: 37.62 kB / 0.6504 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.2279, allocations: 130.6 kB / 0.6505 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.228, allocations: 67.17 kB / 0.6506 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.181e-05/0.228, allocations: 23.3 kB / 0.6506 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005217/0.2285, allocations: 414.7 kB / 0.651 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 3.793e-05/0.2286, allocations: 46.91 kB / 0.651 GB, free: 55.33 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 6.173e-05/0.2286, allocations: 71.44 kB / 0.6511 GB, free: 55.32 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004622/0.2291, allocations: 496.6 kB / 0.6516 GB, free: 55.17 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2291, allocations: 0 / 0.6516 GB, free: 55.17 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2291, allocations: 1.781 kB / 0.6516 GB, free: 55.17 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.2291, allocations: 0 / 0.6516 GB, free: 55.17 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0005432/0.2297, allocations: 462.2 kB / 0.652 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.2297, allocations: 15.69 kB / 0.652 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.368e-05/0.2297, allocations: 51.78 kB / 0.6521 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005091/0.2302, allocations: 134 kB / 0.6522 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.583e-05/0.2303, allocations: 126.7 kB / 0.6523 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.883e-05/0.2304, allocations: 79.55 kB / 0.6524 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.2304, allocations: 14.62 kB / 0.6524 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004023/0.2308, allocations: 287.8 kB / 0.6527 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.2308, allocations: 2.578 kB / 0.6527 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/0.2309, allocations: 7.125 kB / 0.6527 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.2309, allocations: 10.47 kB / 0.6527 GB, free: 54.35 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002557/0.2311, allocations: 158.6 kB / 0.6529 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009767/0.2321, allocations: 0.7194 MB / 0.6536 GB, free: 53.83 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003964/0.2325, allocations: 182.1 kB / 0.6538 GB, free: 53.75 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001773/0.2327, allocations: 115.7 kB / 0.6539 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002234/0.2329, allocations: 68.94 kB / 0.6539 GB, free: 53.7 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.395e-05/0.2329, allocations: 40.89 kB / 0.654 GB, free: 53.66 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=17): time 1.302e-06/0.2329, allocations: 3.844 kB / 0.654 GB, free: 53.66 MB / 0.5573 GB Notification: Performance of matching and sorting (n=17): time 0.005196/0.2381, allocations: 1.396 MB / 0.6553 GB, free: 53.41 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.003e-05/0.2381, allocations: 54.89 kB / 0.6554 GB, free: 53.35 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.072e-05/0.2382, allocations: 156.1 kB / 0.6555 GB, free: 53.23 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.2382, allocations: 35.7 kB / 0.6556 GB, free: 53.19 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.963e-05/0.2383, allocations: 115.8 kB / 0.6557 GB, free: 53.09 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.2383, allocations: 62.08 kB / 0.6557 GB, free: 53.04 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-05/0.2383, allocations: 44.56 kB / 0.6558 GB, free: 53 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.182e-05/0.2384, allocations: 330.7 kB / 0.6561 GB, free: 52.68 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.2386, allocations: 107.9 kB / 0.6562 GB, free: 52.64 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.2387, allocations: 113.2 kB / 0.6563 GB, free: 52.61 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003297/0.2391, allocations: 210 kB / 0.6565 GB, free: 52.52 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.2391, allocations: 4 kB / 0.6565 GB, free: 52.52 MB / 0.5573 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.003101/0.2422, allocations: 0.8912 MB / 0.6574 GB, free: 52.34 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.2422, allocations: 4.562 kB / 0.6574 GB, free: 52.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.2422, allocations: 2.031 kB / 0.6574 GB, free: 52.34 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007931/0.243, allocations: 358.3 kB / 0.6577 GB, free: 52.26 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.2432, allocations: 52.86 kB / 0.6578 GB, free: 52.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008055/0.244, allocations: 0.8369 MB / 0.6586 GB, free: 51.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.2441, allocations: 39.12 kB / 0.6586 GB, free: 51.61 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.2442, allocations: 5.25 kB / 0.6586 GB, free: 51.61 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (com.isOn,$PRE.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,4)} Notification: Performance of prepare postOptimizeDAE: time 7.603e-05/0.2442, allocations: 129.6 kB / 0.6588 GB, free: 51.48 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.2443, allocations: 15.05 kB / 0.6588 GB, free: 51.47 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00083/0.2451, allocations: 449.1 kB / 0.6592 GB, free: 51.31 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.2451, allocations: 1.938 kB / 0.6592 GB, free: 51.31 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2451, allocations: 4 kB / 0.6592 GB, free: 51.3 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2451, allocations: 3.672 kB / 0.6592 GB, free: 51.3 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.2462, allocations: 0.8215 MB / 0.66 GB, free: 50.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.2462, allocations: 3.406 kB / 0.66 GB, free: 50.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.2464, allocations: 46.67 kB / 0.6601 GB, free: 50.79 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007155/0.2471, allocations: 349.4 kB / 0.6604 GB, free: 50.72 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.2471, allocations: 11.08 kB / 0.6604 GB, free: 50.71 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007367/0.2479, allocations: 0.8323 MB / 0.6612 GB, free: 50.09 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.2479, allocations: 2.625 kB / 0.6612 GB, free: 50.09 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005727/0.2484, allocations: 469.9 kB / 0.6617 GB, free: 49.82 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.766e-05/0.2484, allocations: 18.44 kB / 0.6617 GB, free: 49.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.2485, allocations: 5.719 kB / 0.6617 GB, free: 49.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.2486, allocations: 25.55 kB / 0.6617 GB, free: 49.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.965e-05/0.2486, allocations: 17.77 kB / 0.6617 GB, free: 49.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.2487, allocations: 6.297 kB / 0.6617 GB, free: 49.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.255e-05/0.2487, allocations: 115.3 kB / 0.6619 GB, free: 49.71 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.2487, allocations: 2.625 kB / 0.6619 GB, free: 49.71 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003293/0.249, allocations: 142 kB / 0.662 GB, free: 49.67 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (com.isOn) * Number of discrete states: 1 (com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000913/0.2499, allocations: 1.138 MB / 0.6631 GB, free: 48.83 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000982/0.2509, allocations: 366.6 kB / 0.6635 GB, free: 48.74 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2509, allocations: 1.281 kB / 0.6635 GB, free: 48.74 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007046/0.2516, allocations: 233.2 kB / 0.6637 GB, free: 48.69 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.2519, allocations: 46.75 kB / 0.6637 GB, free: 48.67 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006644/0.2586, allocations: 3.594 MB / 0.6672 GB, free: 46.89 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.17e-05/0.2586, allocations: 100.6 kB / 0.6673 GB, free: 46.81 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 6.221e-05/0.2587, allocations: 25.52 kB / 0.6674 GB, free: 46.81 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.651e-05/0.2587, allocations: 39.34 kB / 0.6674 GB, free: 46.78 MB / 0.5573 GB Notification: Performance of SimCode: time 5.11e-07/0.2587, allocations: 0 / 0.6674 GB, free: 46.78 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02062/0.2794, allocations: 8.772 MB / 0.676 GB, free: 45.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.96/8.239, allocations: 2.312 kB / 0.676 GB, free: 45.3 MB / 0.5573 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.764003090560436] Failed to read output from testmodel.py, exit status != 0: 8.329795805737376 8.338761727 8.10769598 Calling exit ...