Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.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.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks",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.0009911/0.0009911, allocations: 105.5 kB / 15.98 MB, free: 6.352 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.001096/0.001096, allocations: 191 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.332/1.332, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7032/0.7032, allocations: 115.3 MB / 406.1 MB, free: 6.418 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 67.89 kB / 493.2 MB, free: 0.5938 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3302, allocations: 76.17 MB / 0.556 GB, free: 35.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.00274/0.3329, allocations: 1.824 MB / 0.5578 GB, free: 34.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.334, allocations: 0.6549 MB / 0.5584 GB, free: 34.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.658e-05/0.3341, allocations: 2.25 kB / 0.5584 GB, free: 34.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.49e-05/0.3341, allocations: 6.375 kB / 0.5584 GB, free: 34.05 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.136e-05/0.3342, allocations: 12.36 kB / 0.5585 GB, free: 34.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000554/0.3348, allocations: 157.1 kB / 0.5586 GB, free: 33.97 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.335, allocations: 119.3 kB / 0.5587 GB, free: 33.92 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.3351, allocations: 44.14 kB / 0.5588 GB, free: 33.9 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.3353, allocations: 64.33 kB / 0.5588 GB, free: 33.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.405e-05/0.3353, allocations: 54.17 kB / 0.5589 GB, free: 33.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.869e-05/0.3354, allocations: 9.969 kB / 0.5589 GB, free: 33.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.3355, allocations: 49.47 kB / 0.5589 GB, free: 33.83 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.609e-05/0.3355, allocations: 24.72 kB / 0.559 GB, free: 33.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.079e-05/0.3356, allocations: 60.48 kB / 0.559 GB, free: 33.78 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.3358, allocations: 142.2 kB / 0.5591 GB, free: 33.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.3358, allocations: 0 / 0.5591 GB, free: 33.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.3358, allocations: 1.969 kB / 0.5592 GB, free: 33.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.3359, allocations: 0 / 0.5592 GB, free: 33.73 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006424/0.3365, allocations: 435.1 kB / 0.5596 GB, free: 33.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.3366, allocations: 9.719 kB / 0.5596 GB, free: 33.32 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.944e-05/0.3366, allocations: 43.31 kB / 0.5596 GB, free: 33.28 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008476/0.3375, allocations: 114.8 kB / 0.5597 GB, free: 33.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.3376, allocations: 185.4 kB / 0.5599 GB, free: 33.05 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.89e-05/0.3377, allocations: 66.41 kB / 0.56 GB, free: 32.99 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.3378, allocations: 5.594 kB / 0.56 GB, free: 32.99 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005345/0.3383, allocations: 175.2 kB / 0.5601 GB, free: 32.92 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.3383, allocations: 0 / 0.5601 GB, free: 32.92 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.3383, allocations: 9.469 kB / 0.5601 GB, free: 32.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.3384, allocations: 2.844 kB / 0.5602 GB, free: 32.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005708/0.3389, allocations: 156.6 kB / 0.5603 GB, free: 32.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.34, allocations: 483.5 kB / 0.5608 GB, free: 32.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009597/0.341, allocations: 222.9 kB / 0.561 GB, free: 32.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002905/0.3413, allocations: 81.28 kB / 0.5611 GB, free: 32.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/0.3413, allocations: 3.875 kB / 0.5611 GB, free: 32.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.3413, allocations: 34.06 kB / 0.5611 GB, free: 32.42 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.3413, allocations: 0 / 0.5611 GB, free: 32.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.001023/0.3424, allocations: 265 kB / 0.5613 GB, free: 32.33 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.3424, allocations: 53.88 kB / 0.5614 GB, free: 32.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.3425, allocations: 136.2 kB / 0.5615 GB, free: 32.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.3426, allocations: 31.42 kB / 0.5616 GB, free: 32.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.912e-05/0.3426, allocations: 110.4 kB / 0.5617 GB, free: 32.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.3427, allocations: 19.62 kB / 0.5617 GB, free: 32.01 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.155e-05/0.3427, allocations: 25.47 kB / 0.5617 GB, free: 31.99 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.479e-05/0.3428, allocations: 320.2 kB / 0.562 GB, free: 31.67 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003025/0.3431, allocations: 76.62 kB / 0.5621 GB, free: 31.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000304/0.3434, allocations: 92.98 kB / 0.5622 GB, free: 31.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005649/0.344, allocations: 168.2 kB / 0.5623 GB, free: 31.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.344, allocations: 1.766 kB / 0.5623 GB, free: 31.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006206/0.3446, allocations: 200.5 kB / 0.5625 GB, free: 31.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.3447, allocations: 5.625 kB / 0.5625 GB, free: 31.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.3447, allocations: 5.625 kB / 0.5625 GB, free: 31.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.3447, allocations: 2.438 kB / 0.5625 GB, free: 31.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/0.345, allocations: 38.94 kB / 0.5626 GB, free: 31.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.345, allocations: 5.188 kB / 0.5626 GB, free: 31.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.3452, allocations: 36.33 kB / 0.5626 GB, free: 31.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.3452, allocations: 4.219 kB / 0.5626 GB, free: 31.46 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.591e-05/0.3453, allocations: 115.3 kB / 0.5627 GB, free: 31.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.074e-05/0.3453, allocations: 9.875 kB / 0.5627 GB, free: 31.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006976/0.346, allocations: 207.3 kB / 0.5629 GB, free: 31.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.346, allocations: 2.406 kB / 0.5629 GB, free: 31.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.346, allocations: 0 / 0.5629 GB, free: 31.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.346, allocations: 2.312 kB / 0.5629 GB, free: 31.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002341/0.3463, allocations: 245.4 kB / 0.5632 GB, free: 31.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3463, allocations: 0 / 0.5632 GB, free: 31.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/0.3465, allocations: 35.84 kB / 0.5632 GB, free: 31.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3465, allocations: 1.75 kB / 0.5632 GB, free: 31.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.3466, allocations: 7.875 kB / 0.5632 GB, free: 31.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3466, allocations: 0.75 kB / 0.5632 GB, free: 31.03 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.3466, allocations: 1.406 kB / 0.5632 GB, free: 31.03 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006392/0.3472, allocations: 280.6 kB / 0.5635 GB, free: 30.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.84e-05/0.3472, allocations: 84.58 kB / 0.5636 GB, free: 30.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.3473, allocations: 13.47 kB / 0.5636 GB, free: 30.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002888/0.3476, allocations: 29.97 kB / 0.5636 GB, free: 30.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.3476, allocations: 11.17 kB / 0.5636 GB, free: 30.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.3476, allocations: 7.719 kB / 0.5636 GB, free: 30.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.538e-05/0.3477, allocations: 106.8 kB / 0.5637 GB, free: 30.67 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3477, allocations: 0.5938 kB / 0.5637 GB, free: 30.67 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002528/0.348, allocations: 33.09 kB / 0.5638 GB, free: 30.66 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0008307/0.3488, allocations: 0.8182 MB / 0.5646 GB, free: 29.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006474/0.3495, allocations: 164.9 kB / 0.5647 GB, free: 29.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3495, allocations: 0 / 0.5647 GB, free: 29.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002949/0.3498, allocations: 81.72 kB / 0.5648 GB, free: 29.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.3502, allocations: 12.17 kB / 0.5648 GB, free: 29.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002608/0.3528, allocations: 1.857 MB / 0.5666 GB, free: 28.49 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.3529, allocations: 0.7008 MB / 0.5673 GB, free: 27.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001012/0.353, allocations: 14.31 kB / 0.5673 GB, free: 27.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.906e-05/0.3531, allocations: 32.91 kB / 0.5673 GB, free: 27.77 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3531, allocations: 0 / 0.5673 GB, free: 27.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2625/0.6157, allocations: 2.587 MB / 0.5699 GB, free: 27.48 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000274/0.616, allocations: 194.8 kB / 0.5701 GB, free: 27.22 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.728/2.344, allocations: 3.25 kB / 0.5701 GB, free: 27.22 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)