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.001158/0.001158, allocations: 106.2 kB / 16.4 MB, free: 6.5 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.001165/0.001165, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8156/0.8156, allocations: 126.1 MB / 417.3 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.00123, allocations: 68.45 kB / 0.5726 GB, free: 27.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1415, allocations: 78.7 MB / 0.6495 GB, free: 4.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.VectorFunctions): time 0.002749/0.1443, allocations: 1.59 MB / 0.651 GB, free: 2.969 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008409/0.1452, allocations: 0.5167 MB / 0.6515 GB, free: 2.445 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.783e-05/0.1452, allocations: 0 / 0.6515 GB, free: 2.445 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001206/0.1454, allocations: 7.875 kB / 0.6515 GB, free: 2.438 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.723e-05/0.1454, allocations: 19.86 kB / 0.6515 GB, free: 2.418 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002219/0.1457, allocations: 43.83 kB / 0.6516 GB, free: 2.375 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000112/0.1458, allocations: 75.77 kB / 0.6517 GB, free: 2.301 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.1459, allocations: 36.22 kB / 0.6517 GB, free: 2.266 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.809e-05/0.146, allocations: 47.77 kB / 0.6517 GB, free: 2.219 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.893e-05/0.1461, allocations: 39.84 kB / 0.6518 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.1461, allocations: 8 kB / 0.6518 GB, free: 2.172 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.034e-05/0.1462, allocations: 8 kB / 0.6518 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.148e-05/0.1462, allocations: 19.92 kB / 0.6518 GB, free: 2.145 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.592e-05/0.1463, allocations: 43.73 kB / 0.6518 GB, free: 2.102 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001608/0.1465, allocations: 95.84 kB / 0.6519 GB, free: 2.008 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1465, allocations: 0 / 0.6519 GB, free: 2.008 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1465, allocations: 0 / 0.6519 GB, free: 2.008 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1465, allocations: 0 / 0.6519 GB, free: 2.008 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.0006031/0.1471, allocations: 410.9 kB / 0.6523 GB, free: 1.559 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.1471, allocations: 8.031 kB / 0.6523 GB, free: 1.551 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.093e-05/0.1472, allocations: 38.75 kB / 0.6524 GB, free: 1.504 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.83e-05/0.1472, allocations: 8.891 kB / 0.6524 GB, free: 1.496 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.1474, allocations: 200.1 kB / 0.6526 GB, free: 1.262 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.1474, allocations: 8.375 kB / 0.6526 GB, free: 1.254 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.1475, allocations: 8.359 kB / 0.6526 GB, free: 1.246 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/0.1477, allocations: 109.8 kB / 0.6527 GB, free: 1.133 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.1477, allocations: 0 / 0.6527 GB, free: 1.133 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.1478, allocations: 4 kB / 0.6527 GB, free: 1.129 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1478, allocations: 3.938 kB / 0.6527 GB, free: 1.125 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002492/0.148, allocations: 103.9 kB / 0.6528 GB, free: 1.023 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005689/0.1486, allocations: 368.6 kB / 0.6532 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.1488, allocations: 66.48 kB / 0.6532 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.1489, allocations: 44.95 kB / 0.6533 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.195e-05/0.1489, allocations: 15.98 kB / 0.6533 GB, free: 488 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.149, allocations: 30.56 kB / 0.6533 GB, free: 448 kB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.153e-06/0.149, allocations: 0 / 0.6533 GB, free: 448 kB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005441/0.1495, allocations: 161.5 kB / 0.6535 GB, free: 280 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.1496, allocations: 59.34 kB / 0.6535 GB, free: 208 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.1497, allocations: 139.5 kB / 0.6536 GB, free: 60 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.1498, allocations: 25.7 kB / 0.6537 GB, free: 28 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.92e-05/0.1499, allocations: 108.1 kB / 0.6538 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.437e-05/0.1499, allocations: 15.91 kB / 0.6538 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.466e-05/0.15, allocations: 21.7 kB / 0.6538 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1502, allocations: 318.8 kB / 0.6541 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001656/0.1503, allocations: 35.97 kB / 0.6541 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.1505, allocations: 47.95 kB / 0.6542 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002967/0.1508, allocations: 84.81 kB / 0.6543 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1508, allocations: 0 / 0.6543 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002721/0.1511, allocations: 129.9 kB / 0.6544 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.1511, allocations: 8 kB / 0.6544 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1512, allocations: 8 kB / 0.6544 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.1512, allocations: 11.88 kB / 0.6544 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.1513, allocations: 15.98 kB / 0.6544 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.1513, allocations: 0 / 0.6544 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.981e-05/0.1514, allocations: 7.984 kB / 0.6544 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.1514, allocations: 4 kB / 0.6545 GB, free: 15.2 MB / 0.4981 GB 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 0.0001044/0.1515, allocations: 125.8 kB / 0.6546 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.768e-05/0.1516, allocations: 3.953 kB / 0.6546 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000497/0.1521, allocations: 150.2 kB / 0.6547 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.1521, allocations: 3.938 kB / 0.6547 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1521, allocations: 0 / 0.6547 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1522, allocations: 0 / 0.6547 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003132/0.1525, allocations: 209.6 kB / 0.6549 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1525, allocations: 0 / 0.6549 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.1526, allocations: 15.98 kB / 0.6549 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.1526, allocations: 0 / 0.6549 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.1526, allocations: 0 / 0.6549 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.1526, allocations: 7.938 kB / 0.6549 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1526, allocations: 0 / 0.6549 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003141/0.153, allocations: 223.4 kB / 0.6552 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.337e-05/0.153, allocations: 85 kB / 0.6552 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.153, allocations: 4 kB / 0.6552 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.1531, allocations: 19.86 kB / 0.6553 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/0.1532, allocations: 7.984 kB / 0.6553 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.1532, allocations: 4.125 kB / 0.6553 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.904e-05/0.1533, allocations: 104.5 kB / 0.6554 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1533, allocations: 0 / 0.6554 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002575/0.1536, allocations: 19.95 kB / 0.6554 GB, free: 14.13 MB / 0.4981 GB 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.0006229/0.1542, allocations: 0.7709 MB / 0.6561 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002729/0.1545, allocations: 95.88 kB / 0.6562 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1545, allocations: 0 / 0.6562 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.1546, allocations: 51.97 kB / 0.6563 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.1548, allocations: 14.12 kB / 0.6563 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.1566, allocations: 1.61 MB / 0.6579 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.1569, allocations: 0.7002 MB / 0.6586 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001476/0.1571, allocations: 19.97 kB / 0.6586 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.949e-05/0.1571, allocations: 27.42 kB / 0.6586 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of SimCode: time 4.51e-07/0.1571, allocations: 0 / 0.6586 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01918/0.1763, allocations: 1.998 MB / 0.6606 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.599/7.775, allocations: 10.41 kB / 0.6606 GB, free: 8.789 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)