Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.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.ScrollCompressor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",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.007799/0.007799, allocations: 101.8 kB / 15.73 MB, free: 6 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.001792/0.001792, allocations: 193.5 kB / 16.67 MB, free: 5.926 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002201/0.002201, allocations: 278.3 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9552/0.9552, allocations: 169.2 MB / 0.4983 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002904/0.002904, allocations: 95.84 kB / 0.681 GB, free: 7.477 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4511/0.454, allocations: 86.98 MB / 0.7659 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003085/0.4571, allocations: 2.015 MB / 0.7679 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002259/0.4594, allocations: 1.66 MB / 0.7695 GB, free: 176 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.984e-05/0.4595, allocations: 4 kB / 0.7695 GB, free: 172 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.283e-05/0.4596, allocations: 23.73 kB / 0.7695 GB, free: 148 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.4597, allocations: 51.55 kB / 0.7696 GB, free: 96 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000993/0.4607, allocations: 362.8 kB / 0.7699 GB, free: 15.74 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002306/0.461, allocations: 231 kB / 0.7701 GB, free: 15.51 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.4611, allocations: 60.31 kB / 0.7702 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.84e-05/0.4612, allocations: 79.83 kB / 0.7703 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.4614, allocations: 95.66 kB / 0.7704 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.859e-05/0.4614, allocations: 24 kB / 0.7704 GB, free: 15.26 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000773/0.4622, allocations: 411.5 kB / 0.7708 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.028e-05/0.4623, allocations: 47.83 kB / 0.7708 GB, free: 14.81 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.698e-05/0.4624, allocations: 87.66 kB / 0.7709 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005681/0.4629, allocations: 438.9 kB / 0.7713 GB, free: 14.3 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.463, allocations: 4 kB / 0.7713 GB, free: 14.29 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.613e-06/0.463, allocations: 0 / 0.7713 GB, free: 14.29 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.463, allocations: 0 / 0.7713 GB, free: 14.29 MB / 0.545 GB 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.0008393/0.4638, allocations: 0.5186 MB / 0.7718 GB, free: 13.72 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.4639, allocations: 16.02 kB / 0.7718 GB, free: 13.71 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.771e-05/0.4639, allocations: 50.75 kB / 0.7719 GB, free: 13.65 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.465, allocations: 136.6 kB / 0.772 GB, free: 13.52 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.4652, allocations: 184.1 kB / 0.7722 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.41e-05/0.4652, allocations: 58 kB / 0.7722 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/0.4653, allocations: 12.38 kB / 0.7723 GB, free: 13.22 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005585/0.4658, allocations: 218.9 kB / 0.7725 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.4659, allocations: 4 kB / 0.7725 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.611e-05/0.4659, allocations: 4 kB / 0.7725 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.4659, allocations: 4 kB / 0.7725 GB, free: 12.99 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006781/0.4666, allocations: 247.8 kB / 0.7727 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00134/0.4679, allocations: 0.9507 MB / 0.7736 GB, free: 11.67 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004437/0.4684, allocations: 190.5 kB / 0.7738 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003185/0.4687, allocations: 112.8 kB / 0.7739 GB, free: 11.36 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000633/0.4694, allocations: 0.5181 MB / 0.7744 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.4694, allocations: 30.56 kB / 0.7745 GB, free: 10.7 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.804e-06/0.4694, allocations: 4 kB / 0.7745 GB, free: 10.69 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.0011/0.4705, allocations: 325.1 kB / 0.7748 GB, free: 10.37 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.4706, allocations: 59.34 kB / 0.7748 GB, free: 10.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.4707, allocations: 165.6 kB / 0.775 GB, free: 10.13 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.4708, allocations: 29.7 kB / 0.775 GB, free: 10.1 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.801e-05/0.4708, allocations: 124 kB / 0.7751 GB, free: 9.969 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.159e-05/0.4709, allocations: 59.17 kB / 0.7752 GB, free: 9.91 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-05/0.471, allocations: 41.7 kB / 0.7752 GB, free: 9.863 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.772e-05/0.4711, allocations: 326.8 kB / 0.7756 GB, free: 9.535 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003326/0.4714, allocations: 103.9 kB / 0.7757 GB, free: 9.434 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003336/0.4718, allocations: 122.2 kB / 0.7758 GB, free: 9.309 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006096/0.4724, allocations: 191.5 kB / 0.776 GB, free: 9.117 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.4724, allocations: 0 / 0.776 GB, free: 9.117 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007626/0.4732, allocations: 270.9 kB / 0.7762 GB, free: 8.848 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.4732, allocations: 8.031 kB / 0.7762 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.4732, allocations: 0 / 0.7762 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.4732, allocations: 7.938 kB / 0.7762 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003939/0.4736, allocations: 55.89 kB / 0.7763 GB, free: 8.777 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.4736, allocations: 0 / 0.7763 GB, free: 8.777 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002901/0.4739, allocations: 35.73 kB / 0.7763 GB, free: 8.742 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.474, allocations: 11.98 kB / 0.7763 GB, free: 8.73 MB / 0.545 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 (22): * Single equations (assignments): 22 * 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 0.0001144/0.4741, allocations: 124.2 kB / 0.7764 GB, free: 8.602 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.975e-05/0.4741, allocations: 11.91 kB / 0.7765 GB, free: 8.59 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007916/0.4749, allocations: 270.5 kB / 0.7767 GB, free: 8.32 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.044e-06/0.475, allocations: 11.92 kB / 0.7767 GB, free: 8.309 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.475, allocations: 0 / 0.7767 GB, free: 8.309 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.475, allocations: 0 / 0.7767 GB, free: 8.309 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/0.4767, allocations: 1.073 MB / 0.7778 GB, free: 7.078 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.4767, allocations: 3.938 kB / 0.7778 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003226/0.477, allocations: 51.89 kB / 0.7778 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.4771, allocations: 4 kB / 0.7778 GB, free: 7.02 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.4771, allocations: 4.062 kB / 0.7778 GB, free: 7.016 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.4771, allocations: 4 kB / 0.7778 GB, free: 7.012 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4771, allocations: 0 / 0.7778 GB, free: 7.012 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007659/0.4779, allocations: 350.9 kB / 0.7782 GB, free: 6.648 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.907e-05/0.4779, allocations: 92.95 kB / 0.7783 GB, free: 6.539 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.088e-05/0.478, allocations: 4 kB / 0.7783 GB, free: 6.535 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003239/0.4783, allocations: 19.97 kB / 0.7783 GB, free: 6.516 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.285e-05/0.4784, allocations: 19.92 kB / 0.7783 GB, free: 6.496 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.4784, allocations: 4 kB / 0.7783 GB, free: 6.492 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.36e-05/0.4785, allocations: 121.9 kB / 0.7784 GB, free: 6.375 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4785, allocations: 4 kB / 0.7784 GB, free: 6.371 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004489/0.4789, allocations: 135.8 kB / 0.7786 GB, free: 6.238 MB / 0.545 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 (16): * Single equations (assignments): 16 * 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.001279/0.4802, allocations: 0.9988 MB / 0.7795 GB, free: 5.207 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000727/0.481, allocations: 234.1 kB / 0.7798 GB, free: 4.984 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.481, allocations: 7.938 kB / 0.7798 GB, free: 4.977 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003439/0.4813, allocations: 107.9 kB / 0.7799 GB, free: 4.871 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004258/0.4818, allocations: 44.17 kB / 0.7799 GB, free: 4.828 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004788/0.4866, allocations: 2.366 MB / 0.7822 GB, free: 2.363 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.4868, allocations: 0.7086 MB / 0.7829 GB, free: 1.629 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001707/0.487, allocations: 34.17 kB / 0.7829 GB, free: 1.602 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.4871, allocations: 47.41 kB / 0.783 GB, free: 1.555 MB / 0.545 GB Notification: Performance of SimCode: time 3.9e-07/0.4872, allocations: 0 / 0.783 GB, free: 1.555 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02372/0.5109, allocations: 6.429 MB / 0.7893 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.387/7.898, allocations: 4.719 kB / 0.7893 GB, free: 11.31 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1)