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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 105.2 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002292/0.002292, allocations: 277.9 kB / 303 MB, free: 3.637 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.019/1.019, allocations: 180.9 MB / 0.5261 GB, free: 2.766 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002661/0.002661, allocations: 95.84 kB / 0.7248 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5031/0.5058, allocations: 94.16 MB / 0.8167 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002619/0.5084, allocations: 2.04 MB / 0.8187 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001884/0.5103, allocations: 1.677 MB / 0.8203 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.724e-05/0.5103, allocations: 2.25 kB / 0.8203 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 6.091e-05/0.5104, allocations: 16.91 kB / 0.8204 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.542e-05/0.5105, allocations: 51.31 kB / 0.8204 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007897/0.5113, allocations: 361.5 kB / 0.8208 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000187/0.5115, allocations: 236 kB / 0.821 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.5116, allocations: 37.58 kB / 0.821 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.234e-05/0.5117, allocations: 81.33 kB / 0.8211 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.5118, allocations: 91.25 kB / 0.8212 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.975e-05/0.5118, allocations: 19.44 kB / 0.8212 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006647/0.5125, allocations: 423.9 kB / 0.8216 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.984e-05/0.5125, allocations: 47.16 kB / 0.8216 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.862e-05/0.5126, allocations: 86.7 kB / 0.8217 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005177/0.5131, allocations: 439 kB / 0.8221 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.5131, allocations: 2.406 kB / 0.8221 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.322e-06/0.5131, allocations: 3.938 kB / 0.8222 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.85e-06/0.5131, allocations: 0 / 0.8222 GB, free: 3.762 MB / 0.5762 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.0007098/0.5138, allocations: 0.5276 MB / 0.8227 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.5139, allocations: 12.03 kB / 0.8227 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.651e-05/0.5139, allocations: 51.66 kB / 0.8227 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/0.5149, allocations: 139.1 kB / 0.8229 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.783e-05/0.515, allocations: 183.2 kB / 0.823 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.954e-05/0.5151, allocations: 56.02 kB / 0.8231 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.5151, allocations: 14.72 kB / 0.8231 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004915/0.5156, allocations: 217.5 kB / 0.8233 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.5156, allocations: 0 / 0.8233 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/0.5156, allocations: 8.594 kB / 0.8233 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.5156, allocations: 3.719 kB / 0.8233 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006221/0.5162, allocations: 237.1 kB / 0.8235 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.5174, allocations: 0.9591 MB / 0.8245 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004004/0.5178, allocations: 176.1 kB / 0.8247 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002889/0.5181, allocations: 102.9 kB / 0.8248 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004749/0.5186, allocations: 0.5193 MB / 0.8253 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.5186, allocations: 37.08 kB / 0.8253 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.352e-06/0.5186, allocations: 0 / 0.8253 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.0009988/0.5196, allocations: 327.6 kB / 0.8256 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.351e-05/0.5196, allocations: 60.28 kB / 0.8257 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.983e-05/0.5197, allocations: 157.6 kB / 0.8258 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.5198, allocations: 36.3 kB / 0.8258 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.634e-05/0.5198, allocations: 114.3 kB / 0.826 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.615e-05/0.5198, allocations: 60.3 kB / 0.826 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.777e-05/0.5199, allocations: 40.66 kB / 0.8261 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.404e-05/0.5199, allocations: 329.3 kB / 0.8264 GB, free: 368 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003015/0.5202, allocations: 105.8 kB / 0.8265 GB, free: 332 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003062/0.5206, allocations: 127.2 kB / 0.8266 GB, free: 276 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005426/0.5211, allocations: 189.6 kB / 0.8268 GB, free: 196 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.5211, allocations: 2.594 kB / 0.8268 GB, free: 196 kB / 0.5762 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000675/0.5218, allocations: 270.4 kB / 0.827 GB, free: 80 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.5218, allocations: 5.969 kB / 0.827 GB, free: 80 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.5218, allocations: 2.906 kB / 0.827 GB, free: 80 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.5218, allocations: 7.969 kB / 0.827 GB, free: 72 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003267/0.5221, allocations: 54.2 kB / 0.8271 GB, free: 64 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.5221, allocations: 1.125 kB / 0.8271 GB, free: 64 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002502/0.5224, allocations: 35.34 kB / 0.8271 GB, free: 52 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.5224, allocations: 7.438 kB / 0.8271 GB, free: 48 kB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (22): * Single equations (assignments): 22 * 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 0.0001301/0.5225, allocations: 125.1 kB / 0.8273 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.87e-05/0.5226, allocations: 17.75 kB / 0.8273 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007505/0.5233, allocations: 267.2 kB / 0.8275 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.5233, allocations: 6.438 kB / 0.8275 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.5233, allocations: 4 kB / 0.8275 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.5233, allocations: 1.312 kB / 0.8275 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001754/0.5251, allocations: 1.075 MB / 0.8286 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.5251, allocations: 0 / 0.8286 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00029/0.5254, allocations: 46.95 kB / 0.8286 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.5254, allocations: 1.219 kB / 0.8286 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.5254, allocations: 4.156 kB / 0.8286 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.5254, allocations: 2.75 kB / 0.8286 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.5254, allocations: 4 kB / 0.8286 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000739/0.5262, allocations: 359.9 kB / 0.829 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.095e-05/0.5262, allocations: 96.69 kB / 0.8291 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.5263, allocations: 0.5625 kB / 0.8291 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002984/0.5266, allocations: 29.84 kB / 0.8291 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.195e-05/0.5266, allocations: 9.453 kB / 0.8291 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.5266, allocations: 5.875 kB / 0.8291 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.259e-05/0.5267, allocations: 119.5 kB / 0.8292 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.5267, allocations: 0 / 0.8292 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004657/0.5272, allocations: 140 kB / 0.8294 GB, free: 14.37 MB / 0.5919 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 (16): * Single equations (assignments): 16 * 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.001327/0.5285, allocations: 1.002 MB / 0.8304 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006874/0.5292, allocations: 222.6 kB / 0.8306 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5292, allocations: 8 kB / 0.8306 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003163/0.5295, allocations: 99.58 kB / 0.8307 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.5299, allocations: 56.17 kB / 0.8307 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004677/0.5346, allocations: 2.377 MB / 0.833 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.5349, allocations: 0.7088 MB / 0.8337 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000178/0.5351, allocations: 33.61 kB / 0.8338 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.5352, allocations: 44.25 kB / 0.8338 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of SimCode: time 4.91e-07/0.5352, allocations: 0 / 0.8338 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0299/0.5651, allocations: 6.402 MB / 0.8401 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.599/8.164, allocations: 8.219 kB / 0.8401 GB, free: 10.36 MB / 0.5919 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 sys.exit(0), Time elapsed: 11.848229799885303] Failed to read output from testmodel.py, exit status != 0: 8.231805704999715 8.245321264 7.729576003 Calling exit ...