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.001614/0.001614, allocations: 102.7 kB / 16.4 MB, free: 6.52 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.001617/0.001617, allocations: 196 kB / 17.34 MB, free: 5.734 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.41/1.41, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7593/0.7593, allocations: 122.9 MB / 414.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 63.42 kB / 0.568 GB, free: 29.01 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1439, allocations: 77.94 MB / 0.6441 GB, free: 9.672 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.VectorFunctions): time 0.002791/0.1468, allocations: 1.58 MB / 0.6456 GB, free: 8.082 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009683/0.1478, allocations: 0.5085 MB / 0.6461 GB, free: 7.566 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.288e-05/0.1479, allocations: 0 / 0.6461 GB, free: 7.566 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001215/0.148, allocations: 11.88 kB / 0.6461 GB, free: 7.555 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.65e-05/0.1481, allocations: 11.86 kB / 0.6461 GB, free: 7.543 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.1483, allocations: 43.89 kB / 0.6462 GB, free: 7.5 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.1485, allocations: 83.69 kB / 0.6463 GB, free: 7.418 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.1486, allocations: 40.22 kB / 0.6463 GB, free: 7.379 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.1488, allocations: 31.86 kB / 0.6463 GB, free: 7.348 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.1489, allocations: 55.75 kB / 0.6464 GB, free: 7.293 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.1489, allocations: 8 kB / 0.6464 GB, free: 7.285 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.433e-05/0.149, allocations: 8 kB / 0.6464 GB, free: 7.277 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.478e-05/0.1491, allocations: 23.92 kB / 0.6464 GB, free: 7.254 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.808e-05/0.1491, allocations: 39.73 kB / 0.6465 GB, free: 7.215 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.1494, allocations: 91.8 kB / 0.6465 GB, free: 7.125 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1494, allocations: 0 / 0.6465 GB, free: 7.125 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1494, allocations: 0 / 0.6465 GB, free: 7.125 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.797e-06/0.1494, allocations: 4 kB / 0.6465 GB, free: 7.121 MB / 494.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.0006489/0.1501, allocations: 410.9 kB / 0.6469 GB, free: 6.672 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.1501, allocations: 8.625 kB / 0.6469 GB, free: 6.664 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.635e-05/0.1502, allocations: 38.75 kB / 0.647 GB, free: 6.617 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.513e-05/0.1502, allocations: 8.891 kB / 0.647 GB, free: 6.609 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/0.1504, allocations: 208 kB / 0.6472 GB, free: 6.367 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.1505, allocations: 384 / 0.6472 GB, free: 6.367 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.1505, allocations: 8.375 kB / 0.6472 GB, free: 6.359 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002936/0.1508, allocations: 109.8 kB / 0.6473 GB, free: 6.246 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1508, allocations: 4 kB / 0.6473 GB, free: 6.242 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.1508, allocations: 4 kB / 0.6473 GB, free: 6.238 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.1508, allocations: 0 / 0.6473 GB, free: 6.238 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002458/0.1511, allocations: 95.45 kB / 0.6474 GB, free: 6.148 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006859/0.1518, allocations: 380.6 kB / 0.6478 GB, free: 5.727 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.152, allocations: 62.55 kB / 0.6478 GB, free: 5.656 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.1521, allocations: 44.95 kB / 0.6479 GB, free: 5.609 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.859e-05/0.1522, allocations: 4 kB / 0.6479 GB, free: 5.605 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.1522, allocations: 38.5 kB / 0.6479 GB, free: 5.559 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.1522, allocations: 0 / 0.6479 GB, free: 5.559 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005047/0.1527, allocations: 169.5 kB / 0.6481 GB, free: 5.387 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.1528, allocations: 55.34 kB / 0.6481 GB, free: 5.32 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.1529, allocations: 127.4 kB / 0.6482 GB, free: 5.188 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.1529, allocations: 33.7 kB / 0.6483 GB, free: 5.148 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.663e-05/0.153, allocations: 108.1 kB / 0.6484 GB, free: 5.039 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/0.1531, allocations: 15.89 kB / 0.6484 GB, free: 5.023 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.657e-05/0.1531, allocations: 29.7 kB / 0.6484 GB, free: 4.988 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1533, allocations: 314.8 kB / 0.6487 GB, free: 4.672 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.1534, allocations: 39.97 kB / 0.6488 GB, free: 4.633 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.1535, allocations: 43.91 kB / 0.6488 GB, free: 4.59 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002212/0.1537, allocations: 93.17 kB / 0.6489 GB, free: 4.496 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.1537, allocations: 0 / 0.6489 GB, free: 4.496 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002713/0.154, allocations: 133.5 kB / 0.649 GB, free: 4.359 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.1541, allocations: 4 kB / 0.649 GB, free: 4.355 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.1541, allocations: 0 / 0.649 GB, free: 4.355 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.1541, allocations: 11.81 kB / 0.649 GB, free: 4.344 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.1542, allocations: 15.98 kB / 0.649 GB, free: 4.328 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1542, allocations: 0 / 0.649 GB, free: 4.328 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.624e-05/0.1543, allocations: 11.98 kB / 0.6491 GB, free: 4.316 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.1544, allocations: 7.938 kB / 0.6491 GB, free: 4.309 MB / 494.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 9.062e-05/0.1545, allocations: 121.8 kB / 0.6492 GB, free: 4.18 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.487e-05/0.1545, allocations: 7.953 kB / 0.6492 GB, free: 4.172 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003482/0.1549, allocations: 142.3 kB / 0.6493 GB, free: 4.02 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.1549, allocations: 7.938 kB / 0.6493 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.1549, allocations: 0 / 0.6493 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1549, allocations: 0 / 0.6493 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/0.1551, allocations: 201.6 kB / 0.6495 GB, free: 3.766 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.1551, allocations: 3.984 kB / 0.6495 GB, free: 3.762 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.1552, allocations: 19.92 kB / 0.6495 GB, free: 3.742 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1552, allocations: 0 / 0.6495 GB, free: 3.742 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.1552, allocations: 8 kB / 0.6496 GB, free: 3.734 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1553, allocations: 3.938 kB / 0.6496 GB, free: 3.73 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1553, allocations: 0 / 0.6496 GB, free: 3.73 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003551/0.1556, allocations: 227.5 kB / 0.6498 GB, free: 3.492 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.894e-05/0.1557, allocations: 85.06 kB / 0.6499 GB, free: 3.391 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.1557, allocations: 0 / 0.6499 GB, free: 3.391 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.1558, allocations: 15.92 kB / 0.6499 GB, free: 3.375 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.852e-05/0.1559, allocations: 7.984 kB / 0.6499 GB, free: 3.367 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.1559, allocations: 4 kB / 0.6499 GB, free: 3.363 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.635e-05/0.1559, allocations: 101.1 kB / 0.65 GB, free: 3.266 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.156, allocations: 0 / 0.65 GB, free: 3.266 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00024/0.1562, allocations: 19.95 kB / 0.65 GB, free: 3.246 MB / 494.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.0007147/0.1569, allocations: 0.767 MB / 0.6507 GB, free: 2.453 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000311/0.1572, allocations: 99.94 kB / 0.6508 GB, free: 2.355 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.1573, allocations: 4 kB / 0.6508 GB, free: 2.352 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.1574, allocations: 51.91 kB / 0.6509 GB, free: 2.301 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.1576, allocations: 7.938 kB / 0.6509 GB, free: 2.293 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.1595, allocations: 1.602 MB / 0.6525 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.1598, allocations: 0.704 MB / 0.6532 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001275/0.1599, allocations: 15.97 kB / 0.6532 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.472e-05/0.16, allocations: 31.42 kB / 0.6532 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of SimCode: time 3.81e-07/0.16, allocations: 3.938 kB / 0.6532 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01843/0.1784, allocations: 2.008 MB / 0.6552 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.5/7.678, allocations: 7.359 kB / 0.6552 GB, free: 13.9 MB / 0.4981 GB (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)