Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_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.ReciprocatingCompressor_ZeroInput,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_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.005359/0.005359, allocations: 98.27 kB / 15.73 MB, free: 5.98 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.001508/0.001508, allocations: 194.5 kB / 16.68 MB, free: 5.91 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.33/1.33, 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.002446/0.002446, allocations: 282.2 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.9459/0.9459, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002551/0.002551, allocations: 95.84 kB / 0.681 GB, free: 7.445 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3685, allocations: 86.97 MB / 0.7659 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003034/0.3715, allocations: 2.015 MB / 0.7679 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002385/0.3739, allocations: 1.659 MB / 0.7695 GB, free: 140 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.198e-05/0.374, allocations: 4 kB / 0.7695 GB, free: 136 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.209e-05/0.3741, allocations: 19.84 kB / 0.7695 GB, free: 116 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.3742, allocations: 47.55 kB / 0.7696 GB, free: 68 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009033/0.3751, allocations: 362.8 kB / 0.7699 GB, free: 15.71 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002226/0.3753, allocations: 219.1 kB / 0.7701 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.3755, allocations: 51.77 kB / 0.7702 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.3756, allocations: 87.75 kB / 0.7702 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.3758, allocations: 87.69 kB / 0.7703 GB, free: 15.28 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.842e-05/0.3758, allocations: 16 kB / 0.7703 GB, free: 15.26 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007371/0.3765, allocations: 419.5 kB / 0.7707 GB, free: 14.85 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.377e-05/0.3766, allocations: 39.91 kB / 0.7708 GB, free: 14.81 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.305e-05/0.3767, allocations: 87.64 kB / 0.7709 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005704/0.3773, allocations: 427.9 kB / 0.7713 GB, free: 14.31 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3773, allocations: 7.922 kB / 0.7713 GB, free: 14.3 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.001e-06/0.3773, allocations: 0 / 0.7713 GB, free: 14.3 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.3773, allocations: 0 / 0.7713 GB, free: 14.3 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.000816/0.3781, allocations: 0.5179 MB / 0.7718 GB, free: 13.73 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.3782, allocations: 8.031 kB / 0.7718 GB, free: 13.72 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.678e-05/0.3782, allocations: 54.73 kB / 0.7718 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005322/0.3788, allocations: 92.67 kB / 0.7719 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.3789, allocations: 180.2 kB / 0.7721 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.918e-05/0.379, allocations: 46.27 kB / 0.7721 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.499e-05/0.3791, allocations: 16.38 kB / 0.7722 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004011/0.3795, allocations: 185.9 kB / 0.7723 GB, free: 13.1 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.3795, allocations: 0 / 0.7723 GB, free: 13.1 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.3795, allocations: 4 kB / 0.7723 GB, free: 13.1 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.3795, allocations: 11.98 kB / 0.7724 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004446/0.38, allocations: 183.7 kB / 0.7725 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/0.3813, allocations: 0.915 MB / 0.7734 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004738/0.3818, allocations: 178.5 kB / 0.7736 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/0.382, allocations: 80.81 kB / 0.7737 GB, free: 11.6 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006791/0.3827, allocations: 0.5181 MB / 0.7742 GB, free: 10.97 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.3828, allocations: 34.56 kB / 0.7742 GB, free: 10.93 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.122e-06/0.3828, allocations: 0 / 0.7742 GB, free: 10.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0006743/0.3834, allocations: 231.4 kB / 0.7744 GB, free: 10.7 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.3835, allocations: 55.41 kB / 0.7745 GB, free: 10.63 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.3836, allocations: 154.5 kB / 0.7746 GB, free: 10.47 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.3837, allocations: 33.7 kB / 0.7747 GB, free: 10.43 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.152e-05/0.3838, allocations: 115.9 kB / 0.7748 GB, free: 10.32 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.986e-05/0.3838, allocations: 51.58 kB / 0.7748 GB, free: 10.27 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.453e-05/0.3839, allocations: 45.59 kB / 0.7749 GB, free: 10.21 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.3841, allocations: 322.8 kB / 0.7752 GB, free: 9.891 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.3843, allocations: 75.95 kB / 0.7752 GB, free: 9.816 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/0.3845, allocations: 89.67 kB / 0.7753 GB, free: 9.723 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003706/0.3849, allocations: 152.4 kB / 0.7755 GB, free: 9.57 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3849, allocations: 4 kB / 0.7755 GB, free: 9.566 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004914/0.3854, allocations: 221.4 kB / 0.7757 GB, free: 9.344 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.3854, allocations: 4 kB / 0.7757 GB, free: 9.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.3854, allocations: 0 / 0.7757 GB, free: 9.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.3854, allocations: 4 kB / 0.7757 GB, free: 9.336 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002378/0.3857, allocations: 39.91 kB / 0.7757 GB, free: 9.297 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3857, allocations: 0 / 0.7757 GB, free: 9.297 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/0.3859, allocations: 27.91 kB / 0.7758 GB, free: 9.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.3859, allocations: 4 kB / 0.7758 GB, free: 9.266 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 (20): * Single equations (assignments): 20 * 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.0001176/0.386, allocations: 125.8 kB / 0.7759 GB, free: 9.133 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.817e-05/0.3861, allocations: 15.91 kB / 0.7759 GB, free: 9.117 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004972/0.3866, allocations: 209.5 kB / 0.7761 GB, free: 8.906 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.3866, allocations: 0 / 0.7761 GB, free: 8.906 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3866, allocations: 3.938 kB / 0.7761 GB, free: 8.902 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3866, allocations: 0 / 0.7761 GB, free: 8.902 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/0.3881, allocations: 0.9818 MB / 0.7771 GB, free: 7.766 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3881, allocations: 4 kB / 0.7771 GB, free: 7.762 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001984/0.3883, allocations: 27.98 kB / 0.7771 GB, free: 7.734 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.3883, allocations: 0 / 0.7771 GB, free: 7.734 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.3883, allocations: 11.92 kB / 0.7771 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3883, allocations: 4.062 kB / 0.7771 GB, free: 7.719 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3883, allocations: 4 kB / 0.7771 GB, free: 7.715 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000481/0.3888, allocations: 287.8 kB / 0.7774 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.486e-05/0.3889, allocations: 89.02 kB / 0.7775 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.044e-05/0.3889, allocations: 11.94 kB / 0.7775 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.3892, allocations: 15.97 kB / 0.7775 GB, free: 7.281 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/0.3892, allocations: 15.92 kB / 0.7775 GB, free: 7.266 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.3893, allocations: 8 kB / 0.7775 GB, free: 7.258 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.74e-05/0.3893, allocations: 121.4 kB / 0.7776 GB, free: 7.141 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.3893, allocations: 0 / 0.7776 GB, free: 7.141 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000514/0.3899, allocations: 131.5 kB / 0.7778 GB, free: 7.012 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 (14): * Single equations (assignments): 14 * 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.001071/0.3909, allocations: 0.9401 MB / 0.7787 GB, free: 6.039 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004584/0.3914, allocations: 181.4 kB / 0.7789 GB, free: 5.863 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.3914, allocations: 0 / 0.7789 GB, free: 5.863 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.3916, allocations: 87.83 kB / 0.7789 GB, free: 5.777 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004553/0.3921, allocations: 40.11 kB / 0.779 GB, free: 5.738 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002884/0.395, allocations: 2.079 MB / 0.781 GB, free: 3.562 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.3953, allocations: 0.7125 MB / 0.7817 GB, free: 2.824 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001294/0.3955, allocations: 32.77 kB / 0.7817 GB, free: 2.793 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.816e-05/0.3956, allocations: 43.42 kB / 0.7818 GB, free: 2.75 MB / 0.545 GB Notification: Performance of SimCode: time 3.5e-07/0.3956, allocations: 3.938 kB / 0.7818 GB, free: 2.746 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02907/0.4247, allocations: 6.078 MB / 0.7877 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.522/7.946, allocations: 9.266 kB / 0.7877 GB, free: 12.88 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1)