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.005303/0.005304, allocations: 97.11 kB / 15.73 MB, free: 5.988 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.00146/0.00146, allocations: 185.1 kB / 16.67 MB, free: 5.918 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002433/0.002433, allocations: 270.6 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9669/0.9669, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00256/0.00256, allocations: 91.86 kB / 0.681 GB, free: 24 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1515, allocations: 86.97 MB / 0.7659 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002995/0.1545, allocations: 2.023 MB / 0.7679 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002259/0.1568, allocations: 1.66 MB / 0.7695 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.782e-05/0.1568, allocations: 4 kB / 0.7695 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.674e-05/0.1569, allocations: 15.84 kB / 0.7695 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.701e-05/0.157, allocations: 59.48 kB / 0.7696 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008186/0.1578, allocations: 350.8 kB / 0.7699 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002225/0.1581, allocations: 235 kB / 0.7701 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.1582, allocations: 61.78 kB / 0.7702 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.616e-05/0.1583, allocations: 75.78 kB / 0.7703 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.1584, allocations: 103.6 kB / 0.7704 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.024e-05/0.1585, allocations: 20 kB / 0.7704 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000741/0.1592, allocations: 407.5 kB / 0.7708 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.59e-05/0.1593, allocations: 47.83 kB / 0.7708 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.218e-05/0.1594, allocations: 91.64 kB / 0.7709 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005638/0.16, allocations: 442.6 kB / 0.7713 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.16, allocations: 0 / 0.7713 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.001e-06/0.16, allocations: 0 / 0.7713 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.16, allocations: 0 / 0.7713 GB, free: 3.391 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0008473/0.1608, allocations: 0.5218 MB / 0.7718 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.1609, allocations: 8.031 kB / 0.7718 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.81e-05/0.1609, allocations: 54.73 kB / 0.7719 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/0.162, allocations: 140.6 kB / 0.772 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.1621, allocations: 188.2 kB / 0.7722 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.769e-05/0.1622, allocations: 50.02 kB / 0.7722 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/0.1623, allocations: 16.38 kB / 0.7723 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005399/0.1628, allocations: 222.2 kB / 0.7725 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.567e-06/0.1628, allocations: 4 kB / 0.7725 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.768e-05/0.1629, allocations: 12 kB / 0.7725 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/0.1629, allocations: 4 kB / 0.7725 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007167/0.1636, allocations: 231.8 kB / 0.7727 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00143/0.165, allocations: 0.9664 MB / 0.7737 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004607/0.1655, allocations: 178.6 kB / 0.7738 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003337/0.1659, allocations: 121.7 kB / 0.7739 GB, free: 460 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2639/0.4298, allocations: 0.5145 MB / 0.7744 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.4299, allocations: 34.59 kB / 0.7745 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 2.354e-06/0.4299, allocations: 0 / 0.7745 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.001294/0.4312, allocations: 331.4 kB / 0.7748 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.4312, allocations: 57.34 kB / 0.7749 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.4314, allocations: 157.9 kB / 0.775 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.4314, allocations: 30.58 kB / 0.775 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.674e-05/0.4314, allocations: 123.3 kB / 0.7751 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.126e-05/0.4315, allocations: 56.5 kB / 0.7752 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.115e-05/0.4316, allocations: 46.14 kB / 0.7752 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.953e-05/0.4316, allocations: 322.7 kB / 0.7756 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003453/0.432, allocations: 103.8 kB / 0.7757 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003443/0.4323, allocations: 128.3 kB / 0.7758 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006052/0.433, allocations: 197.8 kB / 0.776 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.433, allocations: 0 / 0.776 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007124/0.4337, allocations: 270.9 kB / 0.7762 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.4337, allocations: 5.406 kB / 0.7762 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.4337, allocations: 0.9688 kB / 0.7762 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.4337, allocations: 2.922 kB / 0.7762 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003706/0.4341, allocations: 52.67 kB / 0.7763 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.4341, allocations: 5.031 kB / 0.7763 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002862/0.4344, allocations: 35.44 kB / 0.7763 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.4345, allocations: 9.203 kB / 0.7763 GB, free: 13.89 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 (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 8.633e-05/0.4345, allocations: 128.5 kB / 0.7765 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.664e-05/0.4346, allocations: 12.03 kB / 0.7765 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007593/0.4354, allocations: 272.7 kB / 0.7767 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.4354, allocations: 2.141 kB / 0.7767 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.4354, allocations: 5.219 kB / 0.7767 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4354, allocations: 4.312 kB / 0.7767 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/0.4369, allocations: 1.06 MB / 0.7778 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.4369, allocations: 1.922 kB / 0.7778 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003108/0.4373, allocations: 51.75 kB / 0.7778 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.4373, allocations: 1.094 kB / 0.7778 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.4373, allocations: 6.641 kB / 0.7778 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.4373, allocations: 2.641 kB / 0.7778 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4373, allocations: 0.75 kB / 0.7778 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006705/0.438, allocations: 344.2 kB / 0.7782 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.94e-05/0.438, allocations: 97.09 kB / 0.7783 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.489e-05/0.4381, allocations: 7.734 kB / 0.7783 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003332/0.4384, allocations: 25.22 kB / 0.7783 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.488e-05/0.4384, allocations: 14 kB / 0.7783 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.4385, allocations: 7.328 kB / 0.7783 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.276e-05/0.4385, allocations: 120.4 kB / 0.7784 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4385, allocations: 3.5 kB / 0.7784 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005294/0.4391, allocations: 137 kB / 0.7786 GB, free: 12.51 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 (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.00109/0.4402, allocations: 1.01 MB / 0.7795 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006971/0.4409, allocations: 230.8 kB / 0.7798 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4409, allocations: 0.9688 kB / 0.7798 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000323/0.4412, allocations: 114.6 kB / 0.7799 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000478/0.4417, allocations: 55.88 kB / 0.7799 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004283/0.446, allocations: 2.371 MB / 0.7822 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.4461, allocations: 0.7172 MB / 0.7829 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001521/0.4463, allocations: 33.91 kB / 0.783 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.818e-05/0.4464, allocations: 44.16 kB / 0.783 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.4464, allocations: 4 kB / 0.783 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3299/0.7763, allocations: 6.368 MB / 0.7892 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.444/9.22, allocations: 0 / 0.7892 GB, free: 8.609 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)