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.00123/0.00123, allocations: 181.7 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5084/0.5084, allocations: 91.98 MB / 108.5 MB, free: 13.06 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.588/1.588, allocations: 223.2 MB / 354.3 MB, free: 12.18 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001068, allocations: 96.28 kB / 427.4 MB, free: 3.957 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005419/0.0005423, allocations: 12 kB / 0.4983 GB, free: 42.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2095, allocations: 72.3 MB / 0.5689 GB, free: 1.844 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4878/0.6973, allocations: 108.1 MB / 0.6745 GB, free: 12.27 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/0.6977, allocations: 87.95 kB / 0.6746 GB, free: 12.18 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02521/0.7229, allocations: 8.305 MB / 0.6827 GB, free: 3.883 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.723, allocations: 0 / 0.6827 GB, free: 3.883 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.723, allocations: 8 kB / 0.6827 GB, free: 3.875 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.0009286/0.7239, allocations: 0.4994 MB / 0.6832 GB, free: 3.328 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.724, allocations: 8.031 kB / 0.6832 GB, free: 3.32 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.137e-05/0.7241, allocations: 50.55 kB / 0.6833 GB, free: 3.262 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/0.7251, allocations: 139.7 kB / 0.6834 GB, free: 3.125 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.7253, allocations: 178.9 kB / 0.6836 GB, free: 2.91 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/0.7254, allocations: 53.7 kB / 0.6836 GB, free: 2.852 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.545e-05/0.7255, allocations: 15.94 kB / 0.6837 GB, free: 2.836 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005763/0.726, allocations: 221.6 kB / 0.6839 GB, free: 2.613 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.7261, allocations: 4 kB / 0.6839 GB, free: 2.609 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/0.7261, allocations: 8 kB / 0.6839 GB, free: 2.602 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.7261, allocations: 4 kB / 0.6839 GB, free: 2.598 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007296/0.7268, allocations: 235.8 kB / 0.6841 GB, free: 2.367 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.7285, allocations: 0.9936 MB / 0.6851 GB, free: 1.246 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004717/0.7289, allocations: 174.7 kB / 0.6853 GB, free: 1.066 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007285/0.7297, allocations: 0.522 MB / 0.6858 GB, free: 444 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.7297, allocations: 38.56 kB / 0.6858 GB, free: 396 kB / 474.7 MB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.7297, allocations: 3.938 kB / 0.6858 GB, free: 392 kB / 474.7 MB Notification: Performance of matching and sorting (n=16): time 0.001127/0.7309, allocations: 334.2 kB / 0.6861 GB, free: 52 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.535e-05/0.731, allocations: 59.41 kB / 0.6862 GB, free: 15.98 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.7311, allocations: 141.6 kB / 0.6863 GB, free: 15.84 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.7311, allocations: 29.7 kB / 0.6863 GB, free: 15.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.974e-05/0.7312, allocations: 120.1 kB / 0.6865 GB, free: 15.68 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.287e-05/0.7313, allocations: 55.2 kB / 0.6865 GB, free: 15.62 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.447e-05/0.7313, allocations: 4 kB / 0.6865 GB, free: 15.62 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.7315, allocations: 322.8 kB / 0.6868 GB, free: 15.29 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003482/0.7318, allocations: 104.3 kB / 0.6869 GB, free: 15.19 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000354/0.7322, allocations: 129.6 kB / 0.687 GB, free: 15.06 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003211/0.7325, allocations: 96.84 kB / 0.6871 GB, free: 14.96 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.7325, allocations: 0 / 0.6871 GB, free: 14.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007676/0.7333, allocations: 283 kB / 0.6874 GB, free: 14.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.7333, allocations: 7.984 kB / 0.6874 GB, free: 14.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.7334, allocations: 0 / 0.6874 GB, free: 14.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.7334, allocations: 0 / 0.6874 GB, free: 14.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003701/0.7338, allocations: 55.91 kB / 0.6875 GB, free: 14.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.7338, allocations: 0 / 0.6875 GB, free: 14.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000294/0.7341, allocations: 35.81 kB / 0.6875 GB, free: 14.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.7341, allocations: 4 kB / 0.6875 GB, free: 14.58 MB / 490.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001338/0.7343, allocations: 129.8 kB / 0.6876 GB, free: 14.45 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.054e-05/0.7343, allocations: 19.77 kB / 0.6876 GB, free: 14.43 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008072/0.7351, allocations: 264.6 kB / 0.6879 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.7351, allocations: 0 / 0.6879 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.7352, allocations: 11.98 kB / 0.6879 GB, free: 14.15 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.7352, allocations: 0 / 0.6879 GB, free: 14.15 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001825/0.737, allocations: 1.066 MB / 0.689 GB, free: 12.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.737, allocations: 0 / 0.689 GB, free: 12.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003218/0.7373, allocations: 47.91 kB / 0.689 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.7374, allocations: 4 kB / 0.689 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/0.7374, allocations: 0 / 0.689 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.7374, allocations: 0 / 0.689 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7374, allocations: 7.938 kB / 0.689 GB, free: 12.87 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008055/0.7382, allocations: 384.5 kB / 0.6894 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-05/0.7383, allocations: 96.84 kB / 0.6895 GB, free: 12.34 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.985e-05/0.7384, allocations: 16 kB / 0.6895 GB, free: 12.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003175/0.7387, allocations: 19.97 kB / 0.6895 GB, free: 12.31 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/0.7387, allocations: 19.94 kB / 0.6895 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.7388, allocations: 4 kB / 0.6895 GB, free: 12.29 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001025/0.7389, allocations: 117.3 kB / 0.6896 GB, free: 12.17 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7389, allocations: 0 / 0.6896 GB, free: 12.17 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005905/0.7395, allocations: 147.8 kB / 0.6898 GB, free: 12.03 MB / 490.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) * 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 (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.001593/0.7411, allocations: 1.177 MB / 0.6909 GB, free: 10.81 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007656/0.7418, allocations: 227.8 kB / 0.6911 GB, free: 10.59 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.7419, allocations: 0 / 0.6911 GB, free: 10.59 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003358/0.7422, allocations: 116.1 kB / 0.6913 GB, free: 10.48 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.7425, allocations: 39.91 kB / 0.6913 GB, free: 10.44 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003749/0.7463, allocations: 1.458 MB / 0.6927 GB, free: 8.926 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.7466, allocations: 0.7167 MB / 0.6934 GB, free: 8.184 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002094/0.7468, allocations: 34.02 kB / 0.6934 GB, free: 8.152 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.747, allocations: 43.42 kB / 0.6935 GB, free: 8.109 MB / 490.7 MB Notification: Performance of SimCode: time 1.112e-06/0.747, allocations: 0 / 0.6935 GB, free: 8.109 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01827/0.7652, allocations: 5.657 MB / 0.699 GB, free: 2.633 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002159/0.7655, allocations: 191.2 kB / 0.6992 GB, free: 2.391 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.851/2.617, allocations: 3.938 kB / 0.6992 GB, free: 2.387 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)