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.001332/0.001332, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 197 kB / 16.53 MB, free: 6.664 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.295/1.295, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00219/0.00219, allocations: 291 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9477/0.9477, allocations: 169.3 MB / 0.4982 GB, free: 13.97 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 97.59 kB / 0.5953 GB, free: 27.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1259, allocations: 86.98 MB / 0.6803 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002969/0.1289, allocations: 1.996 MB / 0.6822 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002191/0.1311, allocations: 1.66 MB / 0.6839 GB, free: 12.94 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.563e-05/0.1312, allocations: 7.938 kB / 0.6839 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.126e-05/0.1313, allocations: 19.78 kB / 0.6839 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.1314, allocations: 55.55 kB / 0.6839 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009365/0.1324, allocations: 358.8 kB / 0.6843 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001991/0.1326, allocations: 211.2 kB / 0.6845 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.1327, allocations: 61.67 kB / 0.6845 GB, free: 12.24 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.1328, allocations: 83.77 kB / 0.6846 GB, free: 12.16 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.133, allocations: 87.67 kB / 0.6847 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.15e-05/0.133, allocations: 16 kB / 0.6847 GB, free: 12.05 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007394/0.1338, allocations: 403.5 kB / 0.6851 GB, free: 11.66 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.247e-05/0.1338, allocations: 39.84 kB / 0.6851 GB, free: 11.62 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.133e-05/0.1339, allocations: 83.66 kB / 0.6852 GB, free: 11.54 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005409/0.1345, allocations: 427 kB / 0.6856 GB, free: 11.12 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1345, allocations: 3.938 kB / 0.6856 GB, free: 11.12 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.1345, allocations: 0 / 0.6856 GB, free: 11.12 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1345, allocations: 0 / 0.6856 GB, free: 11.12 MB / 494.1 MB 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.0007515/0.1352, allocations: 0.5147 MB / 0.6861 GB, free: 10.55 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.1353, allocations: 8.031 kB / 0.6861 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.874e-05/0.1353, allocations: 58.73 kB / 0.6862 GB, free: 10.47 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000582/0.1359, allocations: 80.73 kB / 0.6863 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.1361, allocations: 184.1 kB / 0.6865 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.355e-05/0.1361, allocations: 54.25 kB / 0.6865 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.1362, allocations: 16.38 kB / 0.6865 GB, free: 10.1 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003919/0.1366, allocations: 187.6 kB / 0.6867 GB, free: 9.914 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.1366, allocations: 0 / 0.6867 GB, free: 9.914 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.328e-05/0.1366, allocations: 4 kB / 0.6867 GB, free: 9.91 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.1366, allocations: 4 kB / 0.6867 GB, free: 9.906 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004542/0.1371, allocations: 187.8 kB / 0.6869 GB, free: 9.723 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.1384, allocations: 0.9073 MB / 0.6878 GB, free: 8.691 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005125/0.1389, allocations: 174.5 kB / 0.6879 GB, free: 8.512 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/0.1391, allocations: 80.81 kB / 0.688 GB, free: 8.43 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006136/0.1397, allocations: 0.5259 MB / 0.6885 GB, free: 7.793 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.1397, allocations: 34.56 kB / 0.6886 GB, free: 7.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.1397, allocations: 0 / 0.6886 GB, free: 7.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006974/0.1404, allocations: 238.5 kB / 0.6888 GB, free: 7.512 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.1405, allocations: 55.39 kB / 0.6888 GB, free: 7.445 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.1406, allocations: 157.8 kB / 0.689 GB, free: 7.285 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.1406, allocations: 29.69 kB / 0.689 GB, free: 7.25 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.981e-05/0.1407, allocations: 115.8 kB / 0.6891 GB, free: 7.133 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.95e-05/0.1408, allocations: 51.3 kB / 0.6892 GB, free: 7.082 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.659e-05/0.1408, allocations: 33.7 kB / 0.6892 GB, free: 7.043 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.02e-05/0.1409, allocations: 326.8 kB / 0.6895 GB, free: 6.715 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.1411, allocations: 75.95 kB / 0.6896 GB, free: 6.641 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.1414, allocations: 89.67 kB / 0.6897 GB, free: 6.547 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003861/0.1418, allocations: 156.9 kB / 0.6898 GB, free: 6.391 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1418, allocations: 8 kB / 0.6898 GB, free: 6.383 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004993/0.1423, allocations: 213.3 kB / 0.69 GB, free: 6.168 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.1423, allocations: 4 kB / 0.69 GB, free: 6.164 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1423, allocations: 4 kB / 0.69 GB, free: 6.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.1423, allocations: 0 / 0.69 GB, free: 6.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002498/0.1426, allocations: 47.84 kB / 0.6901 GB, free: 6.113 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1426, allocations: 0 / 0.6901 GB, free: 6.113 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.1428, allocations: 23.86 kB / 0.6901 GB, free: 6.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.1428, allocations: 12 kB / 0.6901 GB, free: 6.078 MB / 494.1 MB 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 9.356e-05/0.1429, allocations: 127 kB / 0.6902 GB, free: 5.945 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.04e-05/0.143, allocations: 15.81 kB / 0.6903 GB, free: 5.93 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005088/0.1435, allocations: 194.4 kB / 0.6904 GB, free: 5.734 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.1435, allocations: 0 / 0.6904 GB, free: 5.734 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.1435, allocations: 4 kB / 0.6905 GB, free: 5.73 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.1435, allocations: 0 / 0.6905 GB, free: 5.73 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/0.1449, allocations: 0.9895 MB / 0.6914 GB, free: 4.586 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1449, allocations: 0 / 0.6914 GB, free: 4.586 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/0.1451, allocations: 27.92 kB / 0.6914 GB, free: 4.559 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.1451, allocations: 4 kB / 0.6915 GB, free: 4.555 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.1451, allocations: 7.984 kB / 0.6915 GB, free: 4.547 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1451, allocations: 0 / 0.6915 GB, free: 4.547 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1452, allocations: 8.062 kB / 0.6915 GB, free: 4.539 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004883/0.1456, allocations: 287.5 kB / 0.6917 GB, free: 4.238 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.069e-05/0.1457, allocations: 89.02 kB / 0.6918 GB, free: 4.133 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/0.1457, allocations: 0 / 0.6918 GB, free: 4.133 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.146, allocations: 23.97 kB / 0.6918 GB, free: 4.109 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.836e-05/0.146, allocations: 15.92 kB / 0.6919 GB, free: 4.094 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.146, allocations: 4 kB / 0.6919 GB, free: 4.09 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.67e-05/0.1461, allocations: 117.3 kB / 0.692 GB, free: 3.977 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1461, allocations: 0 / 0.692 GB, free: 3.977 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004108/0.1465, allocations: 131.8 kB / 0.6921 GB, free: 3.848 MB / 494.1 MB 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.001007/0.1476, allocations: 0.9442 MB / 0.693 GB, free: 2.871 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004825/0.148, allocations: 178.1 kB / 0.6932 GB, free: 2.699 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.1481, allocations: 4.062 kB / 0.6932 GB, free: 2.695 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002119/0.1483, allocations: 83.89 kB / 0.6933 GB, free: 2.613 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.1487, allocations: 48.17 kB / 0.6933 GB, free: 2.566 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002663/0.1513, allocations: 2.085 MB / 0.6954 GB, free: 396 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002271/0.1516, allocations: 0.7125 MB / 0.6961 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001583/0.1517, allocations: 32.62 kB / 0.6961 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.12e-05/0.1518, allocations: 39.42 kB / 0.6961 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of SimCode: time 3.4e-07/0.1518, allocations: 0 / 0.6961 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3083/0.4601, allocations: 6.023 MB / 0.702 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.509/7.969, allocations: 4.188 kB / 0.702 GB, free: 9.762 MB / 0.4981 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)