Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 176 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5202/0.5202, allocations: 90.91 MB / 99.35 MB, free: 2.23 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 221.5 MB / 343.2 MB, free: 1.633 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009662/0.0009662, allocations: 90.45 kB / 415.9 MB, free: 11.2 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.6e-05/1.602e-05, allocations: 4 kB / 494.6 MB, free: 52.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1231, allocations: 72.3 MB / 0.5536 GB, free: 12.23 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4441/0.5673, allocations: 107.4 MB / 0.6585 GB, free: 2.625 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/0.5675, allocations: 84.38 kB / 0.6586 GB, free: 2.578 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02306/0.5906, allocations: 8.228 MB / 0.6666 GB, free: 11.54 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.5907, allocations: 0 / 0.6666 GB, free: 11.54 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.5907, allocations: 4 kB / 0.6666 GB, free: 11.54 MB / 474.7 MB 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.0007641/0.5914, allocations: 0.4883 MB / 0.6671 GB, free: 11.02 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.5915, allocations: 12.03 kB / 0.6671 GB, free: 11 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.5925, allocations: 139.7 kB / 0.6673 GB, free: 10.87 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.5927, allocations: 186.8 kB / 0.6674 GB, free: 10.64 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.551e-05/0.5928, allocations: 44.62 kB / 0.6675 GB, free: 10.6 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.158e-05/0.5928, allocations: 15.94 kB / 0.6675 GB, free: 10.58 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002971/0.5931, allocations: 157.2 kB / 0.6677 GB, free: 10.49 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002674/0.5934, allocations: 176.1 kB / 0.6678 GB, free: 10.35 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.639e-06/0.5934, allocations: 0 / 0.6678 GB, free: 10.35 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.502e-05/0.5934, allocations: 7.984 kB / 0.6678 GB, free: 10.34 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.5935, allocations: 4 kB / 0.6678 GB, free: 10.34 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/0.5948, allocations: 0.9366 MB / 0.6688 GB, free: 9.41 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.595, allocations: 137.3 kB / 0.6689 GB, free: 9.32 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.5951, allocations: 83.31 kB / 0.669 GB, free: 9.27 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006152/0.5958, allocations: 0.5217 MB / 0.6695 GB, free: 8.641 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.5958, allocations: 34.56 kB / 0.6695 GB, free: 8.598 MB / 474.7 MB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.5958, allocations: 0 / 0.6695 GB, free: 8.598 MB / 474.7 MB Notification: Performance of matching and sorting (n=16): time 0.001305/0.5971, allocations: 288 kB / 0.6698 GB, free: 8.367 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/0.5972, allocations: 51.41 kB / 0.6698 GB, free: 8.305 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.104e-05/0.5973, allocations: 113.7 kB / 0.6699 GB, free: 8.195 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.5973, allocations: 25.7 kB / 0.67 GB, free: 8.164 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.709e-05/0.5974, allocations: 135.2 kB / 0.6701 GB, free: 8.039 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.14e-05/0.5974, allocations: 46.92 kB / 0.6701 GB, free: 7.996 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.633e-05/0.5974, allocations: 0 / 0.6701 GB, free: 7.996 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.293e-05/0.5975, allocations: 325 kB / 0.6704 GB, free: 7.676 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.5976, allocations: 67.44 kB / 0.6705 GB, free: 7.637 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.5978, allocations: 87.58 kB / 0.6706 GB, free: 7.578 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.5989, allocations: 182.6 kB / 0.6708 GB, free: 7.434 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.5989, allocations: 0 / 0.6708 GB, free: 7.434 MB / 474.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001279/0.6002, allocations: 324.9 kB / 0.6711 GB, free: 7.176 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.6002, allocations: 7.953 kB / 0.6711 GB, free: 7.168 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.6002, allocations: 0 / 0.6711 GB, free: 7.168 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.6002, allocations: 4 kB / 0.6711 GB, free: 7.164 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003612/0.6006, allocations: 50.94 kB / 0.6711 GB, free: 7.117 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.6006, allocations: 0 / 0.6711 GB, free: 7.117 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002652/0.6009, allocations: 31.81 kB / 0.6712 GB, free: 7.086 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.6009, allocations: 4 kB / 0.6712 GB, free: 7.082 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.com.isOn,com.isOn) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.564e-05/0.601, allocations: 108.9 kB / 0.6713 GB, free: 6.969 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001224/0.6022, allocations: 286.2 kB / 0.6715 GB, free: 6.738 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.764e-05/0.6023, allocations: 11.86 kB / 0.6716 GB, free: 6.727 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/0.6036, allocations: 312.4 kB / 0.6719 GB, free: 6.484 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.6036, allocations: 4 kB / 0.6719 GB, free: 6.48 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.6036, allocations: 0 / 0.6719 GB, free: 6.48 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.6036, allocations: 0 / 0.6719 GB, free: 6.48 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002116/0.6057, allocations: 1.075 MB / 0.6729 GB, free: 5.367 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.6057, allocations: 3.938 kB / 0.6729 GB, free: 5.363 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003158/0.6061, allocations: 51.33 kB / 0.673 GB, free: 5.316 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.6061, allocations: 0 / 0.673 GB, free: 5.316 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.6061, allocations: 0 / 0.673 GB, free: 5.316 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.6061, allocations: 12 kB / 0.673 GB, free: 5.305 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.6061, allocations: 3.984 kB / 0.673 GB, free: 5.301 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.6074, allocations: 412.4 kB / 0.6734 GB, free: 4.922 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.905e-05/0.6074, allocations: 96.09 kB / 0.6735 GB, free: 4.812 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/0.6075, allocations: 4 kB / 0.6735 GB, free: 4.809 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003032/0.6078, allocations: 19.97 kB / 0.6735 GB, free: 4.789 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.6078, allocations: 15.94 kB / 0.6735 GB, free: 4.773 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/0.6078, allocations: 11.73 kB / 0.6735 GB, free: 4.766 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.692e-05/0.6079, allocations: 96.34 kB / 0.6736 GB, free: 4.676 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6079, allocations: 0 / 0.6736 GB, free: 4.676 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004815/0.6084, allocations: 138.2 kB / 0.6737 GB, free: 4.547 MB / 474.7 MB 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001911/0.6103, allocations: 1.217 MB / 0.6749 GB, free: 3.344 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002883/0.6106, allocations: 164.2 kB / 0.6751 GB, free: 3.246 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.6106, allocations: 0 / 0.6751 GB, free: 3.246 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.6107, allocations: 82.67 kB / 0.6752 GB, free: 3.191 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.611, allocations: 27.41 kB / 0.6752 GB, free: 3.168 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/0.6129, allocations: 408.4 kB / 0.6756 GB, free: 2.758 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.6132, allocations: 0.7202 MB / 0.6763 GB, free: 2.012 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001791/0.6134, allocations: 27.22 kB / 0.6763 GB, free: 1.988 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.739e-05/0.6135, allocations: 41.8 kB / 0.6763 GB, free: 1.965 MB / 474.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6135, allocations: 0 / 0.6763 GB, free: 1.965 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02232/0.6358, allocations: 4.681 MB / 0.6809 GB, free: 13.32 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000216/0.6361, allocations: 150.6 kB / 0.6811 GB, free: 13.13 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.577/2.213, allocations: 3.938 kB / 0.6811 GB, free: 13.12 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1)