Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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_ZeroInput,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",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.382/2.382, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001356/0.001356, allocations: 192.6 kB / 487.4 MB, free: 5.016 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.612/1.612, allocations: 221.5 MB / 0.7824 GB, free: 0.9414 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.0008875/0.0008874, allocations: 104.5 kB / 0.9219 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.874e-05/1.877e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2904, allocations: 142.4 MB / 1.206 GB, free: 43.83 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.091/1.382, allocations: 155.1 MB / 1.358 GB, free: 17.92 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/1.382, allocations: 84.67 kB / 1.358 GB, free: 17.92 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02223/1.404, allocations: 8.162 MB / 1.366 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.944e-06/1.405, allocations: 4 kB / 1.366 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.101e-05/1.405, allocations: 3.844 kB / 1.366 GB, free: 33.17 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.000802/1.405, allocations: 487.7 kB / 1.366 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/1.405, allocations: 12.06 kB / 1.366 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004657/1.406, allocations: 96.19 kB / 1.366 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/1.406, allocations: 175.6 kB / 1.366 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.781e-05/1.406, allocations: 44.27 kB / 1.366 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.591e-05/1.406, allocations: 11.69 kB / 1.366 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002355/1.406, allocations: 140.9 kB / 1.367 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/1.407, allocations: 150.6 kB / 1.367 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/1.407, allocations: 0 / 1.367 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/1.407, allocations: 3.844 kB / 1.367 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/1.407, allocations: 7.797 kB / 1.367 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/1.408, allocations: 0.8951 MB / 1.368 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/1.408, allocations: 125.3 kB / 1.368 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.143e-05/1.408, allocations: 62.59 kB / 1.368 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005375/1.409, allocations: 0.5188 MB / 1.368 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/1.409, allocations: 33.88 kB / 1.368 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/1.409, allocations: 0 / 1.368 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.001267/1.41, allocations: 258.1 kB / 1.369 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/1.41, allocations: 59.34 kB / 1.369 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/1.41, allocations: 119.1 kB / 1.369 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/1.41, allocations: 29.2 kB / 1.369 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.373e-05/1.41, allocations: 124.5 kB / 1.369 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/1.41, allocations: 40.11 kB / 1.369 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.094e-05/1.41, allocations: 0 / 1.369 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001353/1.41, allocations: 324.7 kB / 1.369 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.298e-05/1.411, allocations: 58.14 kB / 1.369 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.933e-05/1.411, allocations: 72.77 kB / 1.369 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/1.412, allocations: 174.4 kB / 1.369 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.412, allocations: 0 / 1.369 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001179/1.413, allocations: 288.5 kB / 1.37 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/1.413, allocations: 7.922 kB / 1.37 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/1.413, allocations: 7.906 kB / 1.37 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/1.413, allocations: 0 / 1.37 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002564/1.413, allocations: 44.25 kB / 1.37 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/1.413, allocations: 4 kB / 1.37 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/1.413, allocations: 20.86 kB / 1.37 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/1.413, allocations: 6.516 kB / 1.37 GB, free: 30.37 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 0.0001045/1.414, allocations: 112.8 kB / 1.37 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00106/1.415, allocations: 252.2 kB / 1.37 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/1.415, allocations: 11.77 kB / 1.37 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001156/1.416, allocations: 287 kB / 1.37 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/1.416, allocations: 4 kB / 1.37 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/1.416, allocations: 0 / 1.37 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/1.416, allocations: 0 / 1.37 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001988/1.418, allocations: 1.018 MB / 1.371 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/1.418, allocations: 0 / 1.371 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001916/1.418, allocations: 33.14 kB / 1.372 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/1.418, allocations: 3.938 kB / 1.372 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/1.418, allocations: 6.562 kB / 1.372 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/1.418, allocations: 0 / 1.372 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/1.418, allocations: 3.844 kB / 1.372 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/1.419, allocations: 384.7 kB / 1.372 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.572e-05/1.419, allocations: 91.58 kB / 1.372 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/1.419, allocations: 11.34 kB / 1.372 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/1.42, allocations: 17.77 kB / 1.372 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.192e-05/1.42, allocations: 13.55 kB / 1.372 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/1.42, allocations: 7.828 kB / 1.372 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.994e-05/1.42, allocations: 92.58 kB / 1.372 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.21e-07/1.42, allocations: 3.844 kB / 1.372 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005417/1.42, allocations: 130.4 kB / 1.372 GB, free: 28.95 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.001804/1.422, allocations: 1.185 MB / 1.373 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002499/1.422, allocations: 142.7 kB / 1.374 GB, free: 28.06 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/1.422, allocations: 0 / 1.374 GB, free: 28.06 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.078e-05/1.422, allocations: 72.36 kB / 1.374 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/1.423, allocations: 25.39 kB / 1.374 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006807/1.423, allocations: 283 kB / 1.374 GB, free: 27.86 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/1.424, allocations: 0.7086 MB / 1.375 GB, free: 27.16 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001351/1.424, allocations: 28 kB / 1.375 GB, free: 27.15 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.675e-05/1.424, allocations: 45.16 kB / 1.375 GB, free: 27.14 MB / 0.8386 GB Notification: Performance of SimCode: time 2.91e-07/1.424, allocations: 0 / 1.375 GB, free: 27.14 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02241/1.446, allocations: 4.409 MB / 1.379 GB, free: 26.49 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001669/1.447, allocations: 177.6 kB / 1.379 GB, free: 26.3 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.68/3.127, allocations: 0 / 1.379 GB, free: 26.3 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat does not exist to compare? outputFormat=mat