Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.269/2.269, allocations: 387.4 MB / 394.9 MB, free: 13.33 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 192.6 kB / 487.4 MB, free: 5.012 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 221.5 MB / 0.7824 GB, free: 0.9727 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 91.8 kB / 0.9219 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.973e-05/1.975e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2952, allocations: 142.4 MB / 1.206 GB, free: 43.82 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9786/1.274, allocations: 155.1 MB / 1.358 GB, free: 18.16 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/1.274, allocations: 91.53 kB / 1.358 GB, free: 18.15 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02248/1.297, allocations: 8.159 MB / 1.366 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.365e-06/1.297, allocations: 0 / 1.366 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.428e-05/1.297, allocations: 3.844 kB / 1.366 GB, free: 33.41 MB / 0.8386 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.001039/1.298, allocations: 0.4918 MB / 1.366 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.911e-05/1.298, allocations: 8.875 kB / 1.366 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005154/1.298, allocations: 92.64 kB / 1.366 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/1.299, allocations: 177.8 kB / 1.366 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/1.299, allocations: 41.2 kB / 1.366 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.167e-05/1.299, allocations: 11.7 kB / 1.366 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002881/1.299, allocations: 146.2 kB / 1.367 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/1.299, allocations: 144 kB / 1.367 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/1.299, allocations: 6.859 kB / 1.367 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/1.299, allocations: 7.781 kB / 1.367 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/1.299, allocations: 3.844 kB / 1.367 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/1.301, allocations: 0.8933 MB / 1.368 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/1.301, allocations: 121.6 kB / 1.368 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.626e-05/1.301, allocations: 61.48 kB / 1.368 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005786/1.302, allocations: 0.521 MB / 1.368 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/1.302, allocations: 30.56 kB / 1.368 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/1.302, allocations: 0 / 1.368 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.00124/1.303, allocations: 263.9 kB / 1.369 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.152e-05/1.303, allocations: 55.28 kB / 1.369 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.758e-05/1.303, allocations: 115.9 kB / 1.369 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/1.303, allocations: 29.2 kB / 1.369 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.178e-05/1.303, allocations: 128.8 kB / 1.369 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.079e-05/1.303, allocations: 40 kB / 1.369 GB, free: 31 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.16e-05/1.303, allocations: 0 / 1.369 GB, free: 31 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001166/1.303, allocations: 324.7 kB / 1.369 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.049e-05/1.304, allocations: 55.38 kB / 1.369 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.439e-05/1.304, allocations: 72.12 kB / 1.369 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/1.305, allocations: 171.7 kB / 1.369 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/1.305, allocations: 0 / 1.369 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001145/1.306, allocations: 294.1 kB / 1.37 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/1.306, allocations: 7.797 kB / 1.37 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/1.306, allocations: 3.844 kB / 1.37 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/1.306, allocations: 0 / 1.37 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002461/1.306, allocations: 44.47 kB / 1.37 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/1.306, allocations: 3.938 kB / 1.37 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001695/1.306, allocations: 24.69 kB / 1.37 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/1.306, allocations: 6.938 kB / 1.37 GB, free: 30.6 MB / 0.8386 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 ($PRE.com.isOn,com.isOn) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.227e-05/1.307, allocations: 104.8 kB / 1.37 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001086/1.308, allocations: 249.4 kB / 1.37 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.313e-05/1.308, allocations: 15.73 kB / 1.37 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001171/1.309, allocations: 284.6 kB / 1.37 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/1.309, allocations: 0 / 1.37 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/1.309, allocations: 0 / 1.37 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/1.309, allocations: 4 kB / 1.37 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001878/1.311, allocations: 1.024 MB / 1.371 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/1.311, allocations: 3.938 kB / 1.371 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/1.311, allocations: 33.02 kB / 1.372 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/1.311, allocations: 0 / 1.372 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/1.311, allocations: 3.875 kB / 1.372 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/1.311, allocations: 10.83 kB / 1.372 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.311, allocations: 3.844 kB / 1.372 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/1.312, allocations: 384.6 kB / 1.372 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.844e-05/1.312, allocations: 95.17 kB / 1.372 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.936e-05/1.312, allocations: 3.875 kB / 1.372 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/1.312, allocations: 13.41 kB / 1.372 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/1.312, allocations: 17.77 kB / 1.372 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/1.313, allocations: 10.75 kB / 1.372 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.249e-05/1.313, allocations: 93.47 kB / 1.372 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.313, allocations: 0 / 1.372 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005298/1.313, allocations: 133.5 kB / 1.372 GB, free: 29.18 MB / 0.8386 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) * 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 (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.001734/1.315, allocations: 1.18 MB / 1.373 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002394/1.315, allocations: 142.6 kB / 1.374 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.315, allocations: 0 / 1.374 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.966e-05/1.315, allocations: 69.31 kB / 1.374 GB, free: 28.28 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/1.315, allocations: 22.3 kB / 1.374 GB, free: 28.28 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006019/1.316, allocations: 268.2 kB / 1.374 GB, free: 28.1 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/1.316, allocations: 0.7128 MB / 1.375 GB, free: 27.4 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001369/1.316, allocations: 23.78 kB / 1.375 GB, free: 27.39 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.26e-05/1.317, allocations: 43.56 kB / 1.375 GB, free: 27.39 MB / 0.8386 GB Notification: Performance of SimCode: time 3.7e-07/1.317, allocations: 0 / 1.375 GB, free: 27.39 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02181/1.338, allocations: 4.413 MB / 1.379 GB, free: 26.73 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/1.339, allocations: 162.9 kB / 1.379 GB, free: 26.54 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/2.988, allocations: 8.203 kB / 1.379 GB, free: 26.54 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat does not exist to compare? outputFormat=mat