Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_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.ScrollCompressor_ZeroInput,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_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.004439/0.004439, allocations: 101 kB / 15.73 MB, free: 6.055 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.001219/0.001219, allocations: 192.7 kB / 16.67 MB, free: 5.969 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002419/0.002419, allocations: 283.7 kB / 290.8 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.948/0.948, allocations: 169.3 MB / 0.4983 GB, free: 4.406 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002508/0.002508, allocations: 91.84 kB / 0.681 GB, free: 7.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4184/0.4209, allocations: 86.98 MB / 0.7659 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput): time 0.003351/0.4243, allocations: 2.015 MB / 0.7679 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00248/0.4268, allocations: 1.667 MB / 0.7695 GB, free: 184 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.633e-05/0.4268, allocations: 4 kB / 0.7695 GB, free: 180 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.642e-05/0.4269, allocations: 15.8 kB / 0.7695 GB, free: 164 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.427, allocations: 55.53 kB / 0.7696 GB, free: 108 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009506/0.428, allocations: 362.8 kB / 0.7699 GB, free: 15.75 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002476/0.4282, allocations: 231.1 kB / 0.7701 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.4284, allocations: 53.31 kB / 0.7702 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.4285, allocations: 83.77 kB / 0.7703 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001558/0.4287, allocations: 99.66 kB / 0.7704 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.352e-05/0.4287, allocations: 20 kB / 0.7704 GB, free: 15.28 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007526/0.4295, allocations: 411.5 kB / 0.7708 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.93e-05/0.4295, allocations: 51.83 kB / 0.7708 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.432e-05/0.4296, allocations: 83.66 kB / 0.7709 GB, free: 14.74 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005881/0.4302, allocations: 435.9 kB / 0.7713 GB, free: 14.32 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4303, allocations: 0 / 0.7713 GB, free: 14.32 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.873e-06/0.4303, allocations: 0 / 0.7713 GB, free: 14.32 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.818e-06/0.4303, allocations: 0 / 0.7713 GB, free: 14.32 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.0009119/0.4312, allocations: 0.5296 MB / 0.7718 GB, free: 13.74 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.4312, allocations: 12.02 kB / 0.7718 GB, free: 13.73 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.741e-05/0.4313, allocations: 46.75 kB / 0.7719 GB, free: 13.67 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/0.4324, allocations: 144.6 kB / 0.772 GB, free: 13.53 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.4326, allocations: 180.2 kB / 0.7722 GB, free: 13.32 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.416e-05/0.4327, allocations: 54 kB / 0.7723 GB, free: 13.26 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.814e-05/0.4327, allocations: 20.31 kB / 0.7723 GB, free: 13.24 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005593/0.4333, allocations: 218.9 kB / 0.7725 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.4333, allocations: 0 / 0.7725 GB, free: 13.02 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/0.4333, allocations: 8 kB / 0.7725 GB, free: 13.01 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.4334, allocations: 4 kB / 0.7725 GB, free: 13.01 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007215/0.4341, allocations: 235.8 kB / 0.7727 GB, free: 12.78 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.4356, allocations: 0.9702 MB / 0.7737 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004941/0.4361, allocations: 182.6 kB / 0.7738 GB, free: 11.49 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003412/0.4365, allocations: 116.8 kB / 0.774 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000725/0.4372, allocations: 0.5181 MB / 0.7745 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.4373, allocations: 38.56 kB / 0.7745 GB, free: 10.7 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.312e-06/0.4373, allocations: 0 / 0.7745 GB, free: 10.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.001142/0.4384, allocations: 332.7 kB / 0.7748 GB, free: 10.37 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.4385, allocations: 59.41 kB / 0.7749 GB, free: 10.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.4386, allocations: 157.3 kB / 0.775 GB, free: 10.14 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.984e-05/0.4387, allocations: 29.7 kB / 0.775 GB, free: 10.11 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.401e-05/0.4388, allocations: 116.3 kB / 0.7752 GB, free: 9.984 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.671e-05/0.4388, allocations: 63.47 kB / 0.7752 GB, free: 9.922 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.7e-05/0.4389, allocations: 37.7 kB / 0.7753 GB, free: 9.879 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.4391, allocations: 326.8 kB / 0.7756 GB, free: 9.551 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003584/0.4394, allocations: 107.9 kB / 0.7757 GB, free: 9.445 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003689/0.4398, allocations: 123.5 kB / 0.7758 GB, free: 9.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006495/0.4405, allocations: 195.6 kB / 0.776 GB, free: 9.125 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4405, allocations: 0 / 0.776 GB, free: 9.125 MB / 0.545 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007901/0.4413, allocations: 277.5 kB / 0.7762 GB, free: 8.848 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.4413, allocations: 4 kB / 0.7762 GB, free: 8.844 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.4413, allocations: 3.938 kB / 0.7762 GB, free: 8.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.4413, allocations: 7.938 kB / 0.7763 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003592/0.4417, allocations: 47.95 kB / 0.7763 GB, free: 8.785 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.4417, allocations: 0 / 0.7763 GB, free: 8.785 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002838/0.442, allocations: 35.88 kB / 0.7763 GB, free: 8.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.442, allocations: 7.984 kB / 0.7763 GB, free: 8.742 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.0001319/0.4422, allocations: 128.2 kB / 0.7765 GB, free: 8.609 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.092e-05/0.4422, allocations: 15.91 kB / 0.7765 GB, free: 8.594 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008102/0.4431, allocations: 270.6 kB / 0.7767 GB, free: 8.324 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.4431, allocations: 3.938 kB / 0.7767 GB, free: 8.32 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.4431, allocations: 3.938 kB / 0.7767 GB, free: 8.316 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.4431, allocations: 4 kB / 0.7767 GB, free: 8.312 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001906/0.445, allocations: 1.08 MB / 0.7778 GB, free: 7.078 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.445, allocations: 3.984 kB / 0.7778 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000314/0.4453, allocations: 35.97 kB / 0.7778 GB, free: 7.039 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.4453, allocations: 8.062 kB / 0.7778 GB, free: 7.031 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.4454, allocations: 4 kB / 0.7779 GB, free: 7.027 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.4454, allocations: 0 / 0.7779 GB, free: 7.027 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4454, allocations: 4 kB / 0.7779 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007826/0.4462, allocations: 348.9 kB / 0.7782 GB, free: 6.66 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.744e-05/0.4463, allocations: 93 kB / 0.7783 GB, free: 6.551 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.4463, allocations: 4 kB / 0.7783 GB, free: 6.547 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003288/0.4466, allocations: 27.91 kB / 0.7783 GB, free: 6.52 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.4467, allocations: 11.98 kB / 0.7783 GB, free: 6.508 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.4467, allocations: 8 kB / 0.7783 GB, free: 6.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.592e-05/0.4468, allocations: 121.5 kB / 0.7784 GB, free: 6.383 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4468, allocations: 4 kB / 0.7784 GB, free: 6.379 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005629/0.4474, allocations: 131.6 kB / 0.7786 GB, free: 6.25 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.001445/0.4488, allocations: 1.013 MB / 0.7796 GB, free: 5.207 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007434/0.4496, allocations: 231.8 kB / 0.7798 GB, free: 4.98 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4496, allocations: 4 kB / 0.7798 GB, free: 4.977 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003352/0.4499, allocations: 112 kB / 0.7799 GB, free: 4.867 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004952/0.4504, allocations: 42.98 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.00449/0.4549, allocations: 2.323 MB / 0.7822 GB, free: 2.406 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.4553, allocations: 0.7125 MB / 0.7829 GB, free: 1.668 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001697/0.4555, allocations: 33.42 kB / 0.7829 GB, free: 1.641 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.4556, allocations: 43.42 kB / 0.783 GB, free: 1.598 MB / 0.545 GB Notification: Performance of SimCode: time 5.71e-07/0.4556, allocations: 0 / 0.783 GB, free: 1.598 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2452/0.7008, allocations: 6.378 MB / 0.7892 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.117/8.818, allocations: 10.83 kB / 0.7892 GB, free: 11.45 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_ZeroInput.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_ZeroInput.pipe 2>&1)