Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",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.001219/0.001219, allocations: 105.7 kB / 15.98 MB, free: 6.355 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.001269/0.001269, allocations: 190.5 kB / 16.91 MB, free: 6.195 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.242/1.242, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6537/0.6537, allocations: 115.3 MB / 406.1 MB, free: 6.367 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 63.89 kB / 493.2 MB, free: 0.5586 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2838, allocations: 76.18 MB / 0.556 GB, free: 35.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002718/0.2866, allocations: 2.053 MB / 0.558 GB, free: 34.17 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001796/0.2884, allocations: 1.646 MB / 0.5596 GB, free: 33.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.39e-05/0.2885, allocations: 3.031 kB / 0.5596 GB, free: 33.02 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.607e-05/0.2885, allocations: 16.38 kB / 0.5597 GB, free: 33.01 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.408e-05/0.2886, allocations: 40.69 kB / 0.5597 GB, free: 32.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000936/0.2896, allocations: 322.6 kB / 0.56 GB, free: 32.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.2898, allocations: 222 kB / 0.5602 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.2899, allocations: 53.48 kB / 0.5603 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.752e-05/0.29, allocations: 82.39 kB / 0.5603 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.2901, allocations: 86.89 kB / 0.5604 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.82e-05/0.2902, allocations: 18.81 kB / 0.5604 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006397/0.2908, allocations: 410.7 kB / 0.5608 GB, free: 32.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.161e-05/0.2908, allocations: 39.86 kB / 0.5609 GB, free: 32.47 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.439e-05/0.2909, allocations: 88.3 kB / 0.561 GB, free: 32.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004921/0.2914, allocations: 436.2 kB / 0.5614 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.2914, allocations: 1.469 kB / 0.5614 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2914, allocations: 1.281 kB / 0.5614 GB, free: 32.28 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.2915, allocations: 0 / 0.5614 GB, free: 32.28 MB / 446.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.0006426/0.2921, allocations: 0.5195 MB / 0.5619 GB, free: 31.81 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.2921, allocations: 10.97 kB / 0.5619 GB, free: 31.81 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.008e-05/0.2922, allocations: 47.45 kB / 0.5619 GB, free: 31.76 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005223/0.2927, allocations: 94.19 kB / 0.562 GB, free: 31.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.094e-05/0.2928, allocations: 179.1 kB / 0.5622 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.335e-05/0.2929, allocations: 45.02 kB / 0.5622 GB, free: 31.51 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/0.2929, allocations: 14.72 kB / 0.5623 GB, free: 31.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003695/0.2933, allocations: 190.2 kB / 0.5624 GB, free: 31.42 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.2933, allocations: 0 / 0.5624 GB, free: 31.42 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.2933, allocations: 6.062 kB / 0.5624 GB, free: 31.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.2933, allocations: 4.844 kB / 0.5625 GB, free: 31.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003902/0.2937, allocations: 186.8 kB / 0.5626 GB, free: 31.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.2948, allocations: 0.9082 MB / 0.5635 GB, free: 30.56 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004296/0.2952, allocations: 168.7 kB / 0.5637 GB, free: 30.49 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/0.2954, allocations: 84.7 kB / 0.5638 GB, free: 30.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004895/0.2959, allocations: 0.5214 MB / 0.5643 GB, free: 29.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.392e-05/0.2959, allocations: 41.08 kB / 0.5643 GB, free: 29.83 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.296, allocations: 3.031 kB / 0.5643 GB, free: 29.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006059/0.2966, allocations: 230.8 kB / 0.5645 GB, free: 29.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.915e-05/0.2966, allocations: 57.5 kB / 0.5646 GB, free: 29.67 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.2967, allocations: 155.9 kB / 0.5647 GB, free: 29.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.2967, allocations: 31.78 kB / 0.5648 GB, free: 29.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.501e-05/0.2968, allocations: 115.6 kB / 0.5649 GB, free: 29.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.2968, allocations: 49.92 kB / 0.5649 GB, free: 29.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.117e-05/0.2969, allocations: 39.62 kB / 0.565 GB, free: 29.35 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.228e-05/0.2969, allocations: 323.8 kB / 0.5653 GB, free: 29.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.2971, allocations: 81.12 kB / 0.5653 GB, free: 29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001866/0.2973, allocations: 92.28 kB / 0.5654 GB, free: 28.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003201/0.2976, allocations: 151.9 kB / 0.5656 GB, free: 28.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2976, allocations: 0 / 0.5656 GB, free: 28.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004314/0.2981, allocations: 214.3 kB / 0.5658 GB, free: 28.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.2981, allocations: 5.375 kB / 0.5658 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.2981, allocations: 3.156 kB / 0.5658 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.2981, allocations: 1.094 kB / 0.5658 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.2984, allocations: 38.23 kB / 0.5658 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.2984, allocations: 5.344 kB / 0.5658 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.2985, allocations: 26.02 kB / 0.5659 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.2986, allocations: 9.906 kB / 0.5659 GB, free: 28.77 MB / 446.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 7.508e-05/0.2987, allocations: 128.2 kB / 0.566 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.174e-05/0.2987, allocations: 17.09 kB / 0.566 GB, free: 28.63 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004482/0.2992, allocations: 204.6 kB / 0.5662 GB, free: 28.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.2992, allocations: 3.594 kB / 0.5662 GB, free: 28.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2992, allocations: 0.7969 kB / 0.5662 GB, free: 28.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2992, allocations: 0.5625 kB / 0.5662 GB, free: 28.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.3003, allocations: 0.9794 MB / 0.5672 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3003, allocations: 1.594 kB / 0.5672 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/0.3005, allocations: 32.83 kB / 0.5672 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.3005, allocations: 2.281 kB / 0.5672 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.3005, allocations: 3.188 kB / 0.5672 GB, free: 27.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.3006, allocations: 5.719 kB / 0.5672 GB, free: 27.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3006, allocations: 2.375 kB / 0.5672 GB, free: 27.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004068/0.301, allocations: 292.7 kB / 0.5675 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.678e-05/0.301, allocations: 86.28 kB / 0.5676 GB, free: 27.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.39e-05/0.301, allocations: 7.031 kB / 0.5676 GB, free: 27.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.3013, allocations: 14.55 kB / 0.5676 GB, free: 27.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.3013, allocations: 16.91 kB / 0.5676 GB, free: 27.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.3013, allocations: 7.328 kB / 0.5676 GB, free: 27.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.159e-05/0.3014, allocations: 119.6 kB / 0.5677 GB, free: 27.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.3014, allocations: 0 / 0.5677 GB, free: 27.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004176/0.3018, allocations: 134 kB / 0.5679 GB, free: 27.2 MB / 446.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.0008425/0.3027, allocations: 0.9383 MB / 0.5688 GB, free: 26.44 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004202/0.3031, allocations: 190 kB / 0.569 GB, free: 26.37 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3031, allocations: 1.344 kB / 0.569 GB, free: 26.37 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.3033, allocations: 83.22 kB / 0.569 GB, free: 26.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.3037, allocations: 49.98 kB / 0.5691 GB, free: 26.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00213/0.3058, allocations: 2.093 MB / 0.5711 GB, free: 24.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.306, allocations: 0.7129 MB / 0.5718 GB, free: 24.03 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001515/0.3061, allocations: 30.97 kB / 0.5719 GB, free: 24.03 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.496e-05/0.3062, allocations: 42.66 kB / 0.5719 GB, free: 24 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.3062, allocations: 1.125 kB / 0.5719 GB, free: 24 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.197/3.503, allocations: 5.898 MB / 0.5777 GB, free: 23.5 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001922/3.503, allocations: 225.7 kB / 0.5779 GB, free: 23.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.127/5.63, allocations: 0 / 0.5779 GB, free: 23.25 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)