Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.703/1.703, allocations: 292.3 MB / 308.1 MB, free: 4.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00128/0.001279, allocations: 190.3 kB / 376.9 MB, free: 1.766 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.551/1.551, allocations: 205.1 MB / 0.6354 GB, free: 9.746 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009759/0.0009758, allocations: 98.89 kB / 0.748 GB, free: 61.36 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001041/0.001041, allocations: 55.92 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2196, allocations: 114.5 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003301/0.223, allocations: 2.079 MB / 0.9842 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002394/0.2254, allocations: 1.752 MB / 0.986 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.67e-05/0.2255, allocations: 4 kB / 0.986 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 5.689e-05/0.2255, allocations: 7.922 kB / 0.986 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.2257, allocations: 51.61 kB / 0.986 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007753/0.2264, allocations: 295.2 kB / 0.9863 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002234/0.2267, allocations: 215.1 kB / 0.9865 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.2268, allocations: 41.47 kB / 0.9865 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.352e-05/0.2269, allocations: 67.84 kB / 0.9866 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.227, allocations: 83.67 kB / 0.9867 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.091e-05/0.2271, allocations: 12 kB / 0.9867 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006852/0.2278, allocations: 395.5 kB / 0.9871 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.248e-05/0.2278, allocations: 35.91 kB / 0.9871 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 8.143e-05/0.2279, allocations: 83.66 kB / 0.9872 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0005269/0.2284, allocations: 431 kB / 0.9876 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.2285, allocations: 4 kB / 0.9876 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.81e-07/0.2285, allocations: 0 / 0.9876 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.2285, allocations: 0 / 0.9876 GB, free: 4.805 MB / 0.7136 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.0007649/0.2292, allocations: 0.5109 MB / 0.9881 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.2293, allocations: 12.02 kB / 0.9881 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000602/0.2299, allocations: 88.66 kB / 0.9882 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.23, allocations: 188.1 kB / 0.9884 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.524e-05/0.2301, allocations: 46.27 kB / 0.9884 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.2302, allocations: 16.36 kB / 0.9884 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004055/0.2306, allocations: 182 kB / 0.9886 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.2306, allocations: 7.875 kB / 0.9886 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.2306, allocations: 4 kB / 0.9886 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.2306, allocations: 4 kB / 0.9886 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004588/0.2311, allocations: 187.8 kB / 0.9888 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.2324, allocations: 0.9074 MB / 0.9897 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005124/0.233, allocations: 174.5 kB / 0.9899 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.2332, allocations: 76.83 kB / 0.9899 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006725/0.2338, allocations: 0.522 MB / 0.9904 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.2339, allocations: 34.56 kB / 0.9905 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.442e-06/0.2339, allocations: 0 / 0.9905 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0007107/0.2346, allocations: 233.5 kB / 0.9907 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.2346, allocations: 55.41 kB / 0.9908 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.2348, allocations: 162.3 kB / 0.9909 GB, free: 1.039 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.2348, allocations: 29.7 kB / 0.9909 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.39e-05/0.2349, allocations: 119.7 kB / 0.9911 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.8e-05/0.235, allocations: 47.3 kB / 0.9911 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.301e-05/0.235, allocations: 45.66 kB / 0.9911 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.2351, allocations: 322.8 kB / 0.9914 GB, free: 472 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002165/0.2354, allocations: 79.95 kB / 0.9915 GB, free: 392 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/0.2356, allocations: 91.91 kB / 0.9916 GB, free: 296 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003834/0.236, allocations: 147.5 kB / 0.9918 GB, free: 144 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.236, allocations: 3.938 kB / 0.9918 GB, free: 140 kB / 0.7136 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005136/0.2365, allocations: 213.4 kB / 0.992 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.2365, allocations: 4 kB / 0.992 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.2365, allocations: 0 / 0.992 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.2366, allocations: 4 kB / 0.992 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/0.2368, allocations: 55.81 kB / 0.992 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.2368, allocations: 0 / 0.992 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.237, allocations: 23.73 kB / 0.992 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.2371, allocations: 8 kB / 0.9921 GB, free: 15.83 MB / 0.7292 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.0001204/0.2372, allocations: 129.8 kB / 0.9922 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.684e-05/0.2372, allocations: 15.89 kB / 0.9922 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005503/0.2378, allocations: 203.1 kB / 0.9924 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.2378, allocations: 0 / 0.9924 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2378, allocations: 0 / 0.9924 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.2378, allocations: 3.984 kB / 0.9924 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001384/0.2392, allocations: 0.974 MB / 0.9933 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.2392, allocations: 4 kB / 0.9933 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.2394, allocations: 31.91 kB / 0.9934 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.2395, allocations: 4.062 kB / 0.9934 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.2395, allocations: 7.938 kB / 0.9934 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.2395, allocations: 0 / 0.9934 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.2395, allocations: 0 / 0.9934 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009449/0.2404, allocations: 0.9285 MB / 0.9943 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-05/0.2405, allocations: 96.84 kB / 0.9944 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.377e-05/0.2405, allocations: 11.94 kB / 0.9944 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.2408, allocations: 7.984 kB / 0.9944 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.2408, allocations: 11.98 kB / 0.9944 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.2409, allocations: 12 kB / 0.9944 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.81e-05/0.2409, allocations: 117.9 kB / 0.9945 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2409, allocations: 0 / 0.9945 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005481/0.2415, allocations: 131.9 kB / 0.9947 GB, free: 12.89 MB / 0.7292 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.0004501/0.242, allocations: 231 kB / 0.9949 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005025/0.2425, allocations: 179.8 kB / 0.9951 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.2425, allocations: 0 / 0.9951 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002237/0.2427, allocations: 84.2 kB / 0.9951 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004627/0.2432, allocations: 45.78 kB / 0.9952 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008943/0.2441, allocations: 0.5166 MB / 0.9957 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.2444, allocations: 0.7089 MB / 0.9964 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001605/0.2445, allocations: 32.05 kB / 0.9964 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.351e-05/0.2446, allocations: 27.42 kB / 0.9964 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/0.2446, allocations: 3.938 kB / 0.9964 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of Templates: time 0.007467/0.2521, allocations: 4.213 MB / 1.001 GB, free: 6.824 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1)