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.004933/0.004933, allocations: 101.5 kB / 15.88 MB, free: 6.312 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.001457/0.001457, allocations: 195.5 kB / 16.79 MB, free: 6.242 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.306/1.306, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6445/0.6445, allocations: 115.3 MB / 405.9 MB, free: 2.781 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 68.64 kB / 493 MB, free: 6.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.139, allocations: 76.18 MB / 0.5558 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.VectorFunctions): time 0.002963/0.142, allocations: 1.653 MB / 0.5575 GB, free: 9.062 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008755/0.1429, allocations: 0.4919 MB / 0.5579 GB, free: 8.562 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.199e-05/0.143, allocations: 7.938 kB / 0.5579 GB, free: 8.555 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.1431, allocations: 7.922 kB / 0.558 GB, free: 8.547 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.853e-05/0.1432, allocations: 3.938 kB / 0.558 GB, free: 8.543 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000209/0.1434, allocations: 39.89 kB / 0.558 GB, free: 8.504 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.1435, allocations: 75.72 kB / 0.5581 GB, free: 8.43 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.1436, allocations: 48.19 kB / 0.5581 GB, free: 8.383 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.1438, allocations: 35.84 kB / 0.5581 GB, free: 8.348 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.425e-05/0.1438, allocations: 39.84 kB / 0.5582 GB, free: 8.309 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.1439, allocations: 4 kB / 0.5582 GB, free: 8.305 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.443e-05/0.1439, allocations: 12 kB / 0.5582 GB, free: 8.293 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.101e-05/0.144, allocations: 19.92 kB / 0.5582 GB, free: 8.273 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.892e-05/0.144, allocations: 39.73 kB / 0.5583 GB, free: 8.234 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.1442, allocations: 91.91 kB / 0.5583 GB, free: 8.145 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1442, allocations: 0 / 0.5583 GB, free: 8.145 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1442, allocations: 0 / 0.5583 GB, free: 8.145 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.1442, allocations: 0 / 0.5583 GB, free: 8.145 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.0004994/0.1447, allocations: 403.1 kB / 0.5587 GB, free: 7.703 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1448, allocations: 12.03 kB / 0.5587 GB, free: 7.691 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.352e-05/0.1448, allocations: 42.67 kB / 0.5588 GB, free: 7.641 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.631e-05/0.1448, allocations: 12.84 kB / 0.5588 GB, free: 7.629 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.145, allocations: 186.4 kB / 0.559 GB, free: 7.41 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.1451, allocations: 8.375 kB / 0.559 GB, free: 7.402 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.1451, allocations: 4.375 kB / 0.559 GB, free: 7.398 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/0.1453, allocations: 109.8 kB / 0.5591 GB, free: 7.285 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1454, allocations: 4 kB / 0.5591 GB, free: 7.281 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.1454, allocations: 3.938 kB / 0.5591 GB, free: 7.277 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1454, allocations: 4 kB / 0.5591 GB, free: 7.273 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002327/0.1456, allocations: 103.9 kB / 0.5592 GB, free: 7.172 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005578/0.1462, allocations: 372.5 kB / 0.5596 GB, free: 6.758 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.1463, allocations: 70.42 kB / 0.5596 GB, free: 6.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.1465, allocations: 48.95 kB / 0.5597 GB, free: 6.629 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.909e-05/0.1465, allocations: 7.969 kB / 0.5597 GB, free: 6.621 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.1465, allocations: 38.56 kB / 0.5597 GB, free: 6.574 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.1465, allocations: 0 / 0.5597 GB, free: 6.574 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.000468/0.147, allocations: 165.4 kB / 0.5599 GB, free: 6.406 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.1471, allocations: 59.34 kB / 0.5599 GB, free: 6.336 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.903e-05/0.1472, allocations: 129.8 kB / 0.56 GB, free: 6.199 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.1472, allocations: 25.7 kB / 0.5601 GB, free: 6.168 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.249e-05/0.1473, allocations: 108 kB / 0.5602 GB, free: 6.059 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.708e-05/0.1473, allocations: 19.8 kB / 0.5602 GB, free: 6.039 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.816e-05/0.1473, allocations: 21.7 kB / 0.5602 GB, free: 6.012 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.656e-05/0.1474, allocations: 322.8 kB / 0.5605 GB, free: 5.688 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.1476, allocations: 35.97 kB / 0.5606 GB, free: 5.652 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.1477, allocations: 39.97 kB / 0.5606 GB, free: 5.613 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002099/0.1479, allocations: 89.19 kB / 0.5607 GB, free: 5.523 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.1479, allocations: 4 kB / 0.5607 GB, free: 5.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002538/0.1482, allocations: 125.6 kB / 0.5608 GB, free: 5.391 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.1482, allocations: 4 kB / 0.5608 GB, free: 5.387 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.1482, allocations: 4 kB / 0.5608 GB, free: 5.383 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.1482, allocations: 3.938 kB / 0.5608 GB, free: 5.379 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.1484, allocations: 19.98 kB / 0.5608 GB, free: 5.359 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1484, allocations: 0 / 0.5608 GB, free: 5.359 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.267e-05/0.1484, allocations: 11.89 kB / 0.5608 GB, free: 5.348 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/0.1485, allocations: 8 kB / 0.5609 GB, free: 5.34 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.747e-05/0.1486, allocations: 117.8 kB / 0.561 GB, free: 5.215 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.279e-05/0.1486, allocations: 7.906 kB / 0.561 GB, free: 5.207 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003213/0.1489, allocations: 146.3 kB / 0.5611 GB, free: 5.059 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.1489, allocations: 3.938 kB / 0.5611 GB, free: 5.055 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1489, allocations: 0 / 0.5611 GB, free: 5.055 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.149, allocations: 0 / 0.5611 GB, free: 5.055 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.1492, allocations: 209.5 kB / 0.5613 GB, free: 4.801 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1492, allocations: 4 kB / 0.5613 GB, free: 4.797 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.966e-05/0.1493, allocations: 15.98 kB / 0.5613 GB, free: 4.781 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1493, allocations: 0 / 0.5613 GB, free: 4.781 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.1493, allocations: 0 / 0.5613 GB, free: 4.781 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.1493, allocations: 11.86 kB / 0.5613 GB, free: 4.77 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1493, allocations: 4 kB / 0.5614 GB, free: 4.766 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003034/0.1496, allocations: 227.5 kB / 0.5616 GB, free: 4.527 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.139e-05/0.1497, allocations: 89 kB / 0.5617 GB, free: 4.422 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.1497, allocations: 4 kB / 0.5617 GB, free: 4.418 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.952e-05/0.1498, allocations: 7.938 kB / 0.5617 GB, free: 4.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.1498, allocations: 3.984 kB / 0.5617 GB, free: 4.406 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.1499, allocations: 8 kB / 0.5617 GB, free: 4.398 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.761e-05/0.1499, allocations: 109.9 kB / 0.5618 GB, free: 4.293 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1499, allocations: 0 / 0.5618 GB, free: 4.293 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002315/0.1502, allocations: 16 kB / 0.5618 GB, free: 4.277 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 (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.0005287/0.1507, allocations: 0.7592 MB / 0.5625 GB, free: 3.492 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000248/0.151, allocations: 95.88 kB / 0.5626 GB, free: 3.398 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.151, allocations: 0 / 0.5626 GB, free: 3.398 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.1511, allocations: 55.95 kB / 0.5627 GB, free: 3.344 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.1513, allocations: 9.062 kB / 0.5627 GB, free: 3.336 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.1529, allocations: 1.619 MB / 0.5643 GB, free: 1.645 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.1531, allocations: 0.7043 MB / 0.565 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000108/0.1533, allocations: 11.98 kB / 0.565 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.129e-05/0.1533, allocations: 27.42 kB / 0.565 GB, free: 0.875 MB / 430.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1533, allocations: 0 / 0.565 GB, free: 0.875 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1724/0.3257, allocations: 1.767 MB / 0.5667 GB, free: 15.2 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002208/0.326, allocations: 208.8 kB / 0.5669 GB, free: 14.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.171/2.497, allocations: 4 kB / 0.5669 GB, free: 14.93 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 & /home/hudson/saved_omc/OMSimulator/install/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)