Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.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.VectorFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_VectorFunctions",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.001309/0.001309, allocations: 107.7 kB / 16.27 MB, free: 5.934 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.001316/0.001316, allocations: 192.5 kB / 17.2 MB, free: 5.57 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.284/1.284, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.725/0.725, allocations: 122.9 MB / 413.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 67.89 kB / 0.4912 GB, free: 7.398 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3521, allocations: 77.92 MB / 0.5673 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.VectorFunctions): time 0.003446/0.3556, allocations: 1.577 MB / 0.5688 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009809/0.3566, allocations: 0.5056 MB / 0.5693 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.179e-05/0.3567, allocations: 1.906 kB / 0.5693 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.3568, allocations: 11.17 kB / 0.5693 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.695e-05/0.3569, allocations: 15.31 kB / 0.5693 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002853/0.3572, allocations: 39.09 kB / 0.5694 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.3574, allocations: 85.31 kB / 0.5695 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002022/0.3576, allocations: 41.42 kB / 0.5695 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.3577, allocations: 43.84 kB / 0.5695 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.872e-05/0.3578, allocations: 42.2 kB / 0.5696 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.3578, allocations: 6.562 kB / 0.5696 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.015e-05/0.3579, allocations: 14.88 kB / 0.5696 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.168e-05/0.358, allocations: 25.09 kB / 0.5696 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.281e-05/0.358, allocations: 37.45 kB / 0.5697 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.3582, allocations: 85.7 kB / 0.5697 GB, free: 31.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3582, allocations: 0 / 0.5697 GB, free: 31.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3582, allocations: 3.938 kB / 0.5697 GB, free: 31.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.3583, allocations: 0 / 0.5697 GB, free: 31.02 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005247/0.3588, allocations: 403.6 kB / 0.5701 GB, free: 30.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.3588, allocations: 10.48 kB / 0.5701 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.008e-05/0.3589, allocations: 38.27 kB / 0.5702 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.87e-05/0.3589, allocations: 12.3 kB / 0.5702 GB, free: 30.58 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.3591, allocations: 195.9 kB / 0.5704 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.3591, allocations: 7.406 kB / 0.5704 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.3591, allocations: 9.719 kB / 0.5704 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.3594, allocations: 108.6 kB / 0.5705 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.3594, allocations: 3.984 kB / 0.5705 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.3594, allocations: 4 kB / 0.5705 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.3595, allocations: 2.594 kB / 0.5705 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002397/0.3597, allocations: 98.91 kB / 0.5706 GB, free: 30.28 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000556/0.3603, allocations: 378 kB / 0.571 GB, free: 29.96 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.3604, allocations: 57.97 kB / 0.571 GB, free: 29.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.3606, allocations: 53.7 kB / 0.5711 GB, free: 29.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.605e-05/0.3606, allocations: 4.609 kB / 0.5711 GB, free: 29.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.3606, allocations: 34.19 kB / 0.5711 GB, free: 29.87 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.3606, allocations: 0 / 0.5711 GB, free: 29.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004816/0.3611, allocations: 167.4 kB / 0.5713 GB, free: 29.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.3612, allocations: 56.47 kB / 0.5713 GB, free: 29.74 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.3613, allocations: 130.8 kB / 0.5714 GB, free: 29.63 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.3613, allocations: 25.7 kB / 0.5715 GB, free: 29.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.757e-05/0.3614, allocations: 111 kB / 0.5716 GB, free: 29.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.395e-05/0.3614, allocations: 24.41 kB / 0.5716 GB, free: 29.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.983e-05/0.3615, allocations: 22.55 kB / 0.5716 GB, free: 29.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.783e-05/0.3616, allocations: 317.6 kB / 0.5719 GB, free: 29.15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.3617, allocations: 46.42 kB / 0.572 GB, free: 29.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.3618, allocations: 42.56 kB / 0.572 GB, free: 29.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002302/0.362, allocations: 88.97 kB / 0.5721 GB, free: 29.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3621, allocations: 1.594 kB / 0.5721 GB, free: 29.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002822/0.3623, allocations: 124.5 kB / 0.5722 GB, free: 29.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.3624, allocations: 5.625 kB / 0.5722 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.3624, allocations: 4.562 kB / 0.5722 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.3624, allocations: 5.922 kB / 0.5722 GB, free: 29.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.3625, allocations: 18.3 kB / 0.5722 GB, free: 29.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.3626, allocations: 4.594 kB / 0.5723 GB, free: 29.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.133e-05/0.3626, allocations: 9.469 kB / 0.5723 GB, free: 29.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.329e-05/0.3627, allocations: 4.625 kB / 0.5723 GB, free: 29.03 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 7.237e-05/0.3627, allocations: 117.2 kB / 0.5724 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.132e-05/0.3628, allocations: 8.531 kB / 0.5724 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003452/0.3631, allocations: 144.5 kB / 0.5725 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.3631, allocations: 6.531 kB / 0.5725 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3632, allocations: 0 / 0.5725 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3632, allocations: 0 / 0.5725 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.3633, allocations: 205 kB / 0.5727 GB, free: 28.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3633, allocations: 0 / 0.5727 GB, free: 28.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.3634, allocations: 22.5 kB / 0.5727 GB, free: 28.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3635, allocations: 3.938 kB / 0.5727 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.3635, allocations: 8.438 kB / 0.5728 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.614e-06/0.3635, allocations: 3.938 kB / 0.5728 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3635, allocations: 1.25 kB / 0.5728 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002703/0.3638, allocations: 217.9 kB / 0.573 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.675e-05/0.3638, allocations: 83.69 kB / 0.5731 GB, free: 28.37 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.3638, allocations: 1.797 kB / 0.5731 GB, free: 28.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.944e-05/0.3639, allocations: 16 kB / 0.5731 GB, free: 28.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.364, allocations: 7.547 kB / 0.5731 GB, free: 28.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.364, allocations: 7.391 kB / 0.5731 GB, free: 28.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.899e-05/0.3641, allocations: 103 kB / 0.5732 GB, free: 28.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3641, allocations: 0 / 0.5732 GB, free: 28.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002397/0.3643, allocations: 22.03 kB / 0.5732 GB, free: 28.27 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.000523/0.3648, allocations: 0.7628 MB / 0.5739 GB, free: 27.58 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002963/0.3651, allocations: 112.5 kB / 0.5741 GB, free: 27.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3652, allocations: 2.562 kB / 0.5741 GB, free: 27.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.3653, allocations: 49.39 kB / 0.5741 GB, free: 27.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.3655, allocations: 12.98 kB / 0.5741 GB, free: 27.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.367, allocations: 1.578 MB / 0.5757 GB, free: 26.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.3672, allocations: 0.7001 MB / 0.5763 GB, free: 25.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.394e-05/0.3673, allocations: 23.03 kB / 0.5764 GB, free: 25.56 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.857e-05/0.3673, allocations: 30.47 kB / 0.5764 GB, free: 25.54 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3673, allocations: 0 / 0.5764 GB, free: 25.54 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01832/0.3857, allocations: 1.955 MB / 0.5783 GB, free: 25.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.133/7.519, allocations: 21.3 kB / 0.5783 GB, free: 25.16 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Math_Examples_VectorFunctions.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)