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.001369/0.001369, allocations: 95.88 kB / 15.68 MB, free: 488 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.001956/0.001956, allocations: 174.7 kB / 16.56 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.354/2.354, allocations: 223.2 MB / 240.5 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.195/1.195, allocations: 113.7 MB / 405.3 MB, free: 4.652 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007655/0.0007657, allocations: 12 kB / 493 MB, free: 8.625 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3273, allocations: 77.11 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.VectorFunctions): time 0.002837/0.3302, allocations: 1.274 MB / 0.558 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.3316, allocations: 480.1 kB / 0.5584 GB, free: 9.957 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.627e-05/0.3317, allocations: 0 / 0.5584 GB, free: 9.957 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001389/0.3319, allocations: 7.938 kB / 0.5584 GB, free: 9.949 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.786e-05/0.332, allocations: 23.89 kB / 0.5585 GB, free: 9.926 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003188/0.3323, allocations: 19.98 kB / 0.5585 GB, free: 9.906 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.3325, allocations: 55.86 kB / 0.5585 GB, free: 9.852 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000286/0.3328, allocations: 32.2 kB / 0.5586 GB, free: 9.816 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.3329, allocations: 31.91 kB / 0.5586 GB, free: 9.785 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.3331, allocations: 23.86 kB / 0.5586 GB, free: 9.762 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.3331, allocations: 4 kB / 0.5586 GB, free: 9.758 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.3332, allocations: 11.92 kB / 0.5586 GB, free: 9.746 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.965e-05/0.3333, allocations: 11.94 kB / 0.5586 GB, free: 9.734 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.549e-05/0.3334, allocations: 37.64 kB / 0.5587 GB, free: 9.691 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.3336, allocations: 68.09 kB / 0.5587 GB, free: 9.625 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.3337, allocations: 0 / 0.5587 GB, free: 9.625 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.95e-06/0.3337, allocations: 0 / 0.5587 GB, free: 9.625 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.3337, allocations: 0 / 0.5587 GB, free: 9.625 MB / 430.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.0008196/0.3345, allocations: 387 kB / 0.5591 GB, free: 9.199 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.28e-05/0.3346, allocations: 12.03 kB / 0.5591 GB, free: 9.188 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.468e-05/0.3347, allocations: 38.56 kB / 0.5592 GB, free: 9.141 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.245e-05/0.3347, allocations: 7.906 kB / 0.5592 GB, free: 9.133 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.335, allocations: 198.8 kB / 0.5594 GB, free: 8.898 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.335, allocations: 4 kB / 0.5594 GB, free: 8.895 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.335, allocations: 8 kB / 0.5594 GB, free: 8.887 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000309/0.3353, allocations: 118.9 kB / 0.5595 GB, free: 8.766 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.3354, allocations: 0 / 0.5595 GB, free: 8.766 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.3354, allocations: 8 kB / 0.5595 GB, free: 8.758 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.3354, allocations: 4 kB / 0.5595 GB, free: 8.754 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002748/0.3357, allocations: 103.9 kB / 0.5596 GB, free: 8.652 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007768/0.3365, allocations: 396.5 kB / 0.56 GB, free: 8.215 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.3366, allocations: 62.55 kB / 0.56 GB, free: 8.145 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.249e-05/0.3367, allocations: 8.125 kB / 0.56 GB, free: 8.137 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.3367, allocations: 34.5 kB / 0.5601 GB, free: 8.094 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.3368, allocations: 0 / 0.5601 GB, free: 8.094 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.00067/0.3374, allocations: 185.5 kB / 0.5602 GB, free: 7.906 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.3375, allocations: 51.41 kB / 0.5603 GB, free: 7.844 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.3377, allocations: 132.5 kB / 0.5604 GB, free: 7.707 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.3377, allocations: 25.7 kB / 0.5604 GB, free: 7.676 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.3378, allocations: 108.2 kB / 0.5605 GB, free: 7.566 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.726e-05/0.3379, allocations: 19.8 kB / 0.5606 GB, free: 7.547 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.018e-05/0.3379, allocations: 0 / 0.5606 GB, free: 7.547 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003633/0.3383, allocations: 326.8 kB / 0.5609 GB, free: 7.219 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/0.3385, allocations: 43.97 kB / 0.5609 GB, free: 7.176 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/0.3387, allocations: 47.97 kB / 0.561 GB, free: 7.129 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.3389, allocations: 51.91 kB / 0.561 GB, free: 7.078 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3389, allocations: 0 / 0.561 GB, free: 7.078 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005242/0.3395, allocations: 137.5 kB / 0.5611 GB, free: 6.938 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/0.3395, allocations: 4 kB / 0.5611 GB, free: 6.934 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.3396, allocations: 0 / 0.5611 GB, free: 6.934 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.536e-05/0.3396, allocations: 0 / 0.5611 GB, free: 6.934 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.3398, allocations: 23.97 kB / 0.5612 GB, free: 6.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.3399, allocations: 4 kB / 0.5612 GB, free: 6.906 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.34, allocations: 12 kB / 0.5612 GB, free: 6.895 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.54e-05/0.34, allocations: 3.984 kB / 0.5612 GB, free: 6.891 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001621/0.3402, allocations: 121.8 kB / 0.5613 GB, free: 6.762 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.829e-05/0.3403, allocations: 11.84 kB / 0.5613 GB, free: 6.75 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005689/0.3409, allocations: 158.3 kB / 0.5615 GB, free: 6.59 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/0.3409, allocations: 3.984 kB / 0.5615 GB, free: 6.586 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.3409, allocations: 0 / 0.5615 GB, free: 6.586 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3409, allocations: 0 / 0.5615 GB, free: 6.586 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003627/0.3413, allocations: 213.9 kB / 0.5617 GB, free: 6.328 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3413, allocations: 0 / 0.5617 GB, free: 6.328 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.3415, allocations: 23.98 kB / 0.5617 GB, free: 6.305 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.476e-05/0.3415, allocations: 11.98 kB / 0.5617 GB, free: 6.293 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.3415, allocations: 7.938 kB / 0.5617 GB, free: 6.285 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3415, allocations: 0 / 0.5617 GB, free: 6.285 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3415, allocations: 3.938 kB / 0.5617 GB, free: 6.281 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005378/0.3421, allocations: 239.3 kB / 0.562 GB, free: 6.031 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.688e-05/0.3422, allocations: 85.02 kB / 0.562 GB, free: 5.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.956e-05/0.3422, allocations: 0 / 0.562 GB, free: 5.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.3424, allocations: 15.98 kB / 0.562 GB, free: 5.914 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.154e-05/0.3425, allocations: 4 kB / 0.5621 GB, free: 5.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.3425, allocations: 3.984 kB / 0.5621 GB, free: 5.906 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001201/0.3426, allocations: 107.3 kB / 0.5622 GB, free: 5.801 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3426, allocations: 0 / 0.5622 GB, free: 5.801 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004131/0.3431, allocations: 12 kB / 0.5622 GB, free: 5.789 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001122/0.3442, allocations: 0.7754 MB / 0.5629 GB, free: 4.988 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004582/0.3447, allocations: 115.9 kB / 0.563 GB, free: 4.875 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3447, allocations: 0 / 0.563 GB, free: 4.875 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001962/0.3449, allocations: 59.91 kB / 0.5631 GB, free: 4.816 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.3452, allocations: 4 kB / 0.5631 GB, free: 4.812 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/0.3473, allocations: 0.7118 MB / 0.5638 GB, free: 4.055 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006685/0.348, allocations: 0.7004 MB / 0.5645 GB, free: 3.328 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002123/0.3482, allocations: 19.97 kB / 0.5645 GB, free: 3.309 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.3483, allocations: 27.42 kB / 0.5645 GB, free: 3.281 MB / 430.1 MB Notification: Performance of SimCode: time 1.844e-06/0.3483, allocations: 3.938 kB / 0.5645 GB, free: 3.277 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03171/0.3801, allocations: 1.668 MB / 0.5662 GB, free: 1.738 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002557/0.3804, allocations: 184.8 kB / 0.5663 GB, free: 1.492 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.078/3.458, allocations: 0 / 0.5663 GB, free: 1.492 MB / 430.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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_VectorFunctions.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) Environment - environmentSimulation: