Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.ReciprocatingCompressor_ZeroInput,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005123/0.005123, allocations: 98.31 kB / 15.73 MB, free: 5.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 196.2 kB / 16.68 MB, free: 5.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.239/1.239, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002074/0.002074, allocations: 275 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9036/0.9036, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 92.38 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.156, allocations: 86.97 MB / 0.7659 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.00329/0.1593, allocations: 2.012 MB / 0.7679 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002437/0.1618, allocations: 1.656 MB / 0.7695 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.1619, allocations: 4 kB / 0.7695 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.622e-05/0.162, allocations: 15.8 kB / 0.7695 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001336/0.1621, allocations: 51.55 kB / 0.7695 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.1633, allocations: 362.8 kB / 0.7699 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003159/0.1636, allocations: 219.1 kB / 0.7701 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.1638, allocations: 61.72 kB / 0.7702 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.1639, allocations: 75.78 kB / 0.7702 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.1641, allocations: 91.67 kB / 0.7703 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.184e-05/0.1641, allocations: 16 kB / 0.7703 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000774/0.1649, allocations: 415.5 kB / 0.7707 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.525e-05/0.1649, allocations: 39.91 kB / 0.7708 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.836e-05/0.165, allocations: 87.64 kB / 0.7709 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006257/0.1657, allocations: 434.6 kB / 0.7713 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1657, allocations: 0 / 0.7713 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1657, allocations: 4 kB / 0.7713 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.1657, allocations: 0 / 0.7713 GB, free: 3.414 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008808/0.1666, allocations: 0.5179 MB / 0.7718 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.1666, allocations: 8.031 kB / 0.7718 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.471e-05/0.1667, allocations: 54.73 kB / 0.7718 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005901/0.1673, allocations: 88.73 kB / 0.7719 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.1675, allocations: 176.2 kB / 0.7721 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.225e-05/0.1676, allocations: 50.25 kB / 0.7721 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.184e-05/0.1676, allocations: 20.31 kB / 0.7722 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004206/0.168, allocations: 187.6 kB / 0.7723 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1681, allocations: 0 / 0.7723 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/0.1681, allocations: 4 kB / 0.7723 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1681, allocations: 4 kB / 0.7723 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004459/0.1686, allocations: 187.7 kB / 0.7725 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001367/0.1699, allocations: 0.9151 MB / 0.7734 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004792/0.1704, allocations: 170.5 kB / 0.7736 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002164/0.1707, allocations: 80.83 kB / 0.7737 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006144/0.1713, allocations: 0.5142 MB / 0.7742 GB, free: 100 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.1713, allocations: 34.56 kB / 0.7742 GB, free: 56 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.1713, allocations: 4 kB / 0.7742 GB, free: 52 kB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.2883/0.4597, allocations: 234.8 kB / 0.7744 GB, free: 15 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.4598, allocations: 55.41 kB / 0.7745 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.4599, allocations: 157 kB / 0.7746 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.46, allocations: 31.3 kB / 0.7746 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.463e-05/0.4601, allocations: 123.2 kB / 0.7748 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.675e-05/0.4601, allocations: 47.3 kB / 0.7748 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.997e-05/0.4602, allocations: 42.34 kB / 0.7749 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.343e-05/0.4603, allocations: 319.9 kB / 0.7752 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002362/0.4605, allocations: 72.53 kB / 0.7752 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002505/0.4608, allocations: 97.72 kB / 0.7753 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004119/0.4612, allocations: 149.5 kB / 0.7755 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4612, allocations: 0 / 0.7755 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005109/0.4617, allocations: 217.4 kB / 0.7757 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.4618, allocations: 11.69 kB / 0.7757 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.4618, allocations: 1.5 kB / 0.7757 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.4618, allocations: 1.875 kB / 0.7757 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/0.4621, allocations: 41.36 kB / 0.7757 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.4621, allocations: 0.5 kB / 0.7757 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001828/0.4623, allocations: 28.67 kB / 0.7758 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.4623, allocations: 6.516 kB / 0.7758 GB, free: 14.29 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: 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 (20): * Single equations (assignments): 20 * 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.458e-05/0.4624, allocations: 127.3 kB / 0.7759 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.593e-05/0.4624, allocations: 19.55 kB / 0.7759 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005041/0.4629, allocations: 200.9 kB / 0.7761 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.463, allocations: 4.812 kB / 0.7761 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.463, allocations: 1.062 kB / 0.7761 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.463, allocations: 0.6562 kB / 0.7761 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/0.4643, allocations: 0.9877 MB / 0.7771 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.4643, allocations: 1.891 kB / 0.7771 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/0.4645, allocations: 28.17 kB / 0.7771 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.4645, allocations: 6.406 kB / 0.7771 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.4645, allocations: 6.438 kB / 0.7771 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.4645, allocations: 1.094 kB / 0.7771 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.4645, allocations: 2.203 kB / 0.7771 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004443/0.465, allocations: 287 kB / 0.7774 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.022e-05/0.465, allocations: 90.98 kB / 0.7775 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.4651, allocations: 5.531 kB / 0.7775 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/0.4653, allocations: 15.92 kB / 0.7775 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.307e-05/0.4653, allocations: 10 kB / 0.7775 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.4653, allocations: 4.594 kB / 0.7775 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.495e-05/0.4654, allocations: 127.1 kB / 0.7776 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4654, allocations: 0 / 0.7776 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004475/0.4659, allocations: 130.5 kB / 0.7777 GB, free: 13 MB / 0.5606 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 (14): * Single equations (assignments): 14 * 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.0009333/0.4668, allocations: 0.9601 MB / 0.7787 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004762/0.4673, allocations: 179 kB / 0.7789 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.4673, allocations: 0.625 kB / 0.7789 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002031/0.4675, allocations: 85.52 kB / 0.7789 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004155/0.4679, allocations: 48.92 kB / 0.779 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002475/0.4704, allocations: 2.075 MB / 0.781 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.4706, allocations: 0.707 MB / 0.7817 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001489/0.4707, allocations: 34.17 kB / 0.7817 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.057e-05/0.4708, allocations: 42.12 kB / 0.7818 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of SimCode: time 2.01e-07/0.4708, allocations: 0 / 0.7818 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02297/0.4938, allocations: 6.082 MB / 0.7877 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.192/7.686, allocations: 15.38 kB / 0.7877 GB, free: 9.27 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1)