Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="IDEAS_IDEAS_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.00558/0.00558, allocations: 103.1 kB / 15.73 MB, free: 6.043 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.001134/0.001134, allocations: 188.4 kB / 16.67 MB, free: 5.961 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7772/0.7772, allocations: 132.2 MB / 422.7 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 68.27 kB / 0.5809 GB, free: 24.01 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1517, allocations: 80.21 MB / 0.6592 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.00338/0.1551, allocations: 1.59 MB / 0.6607 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00099/0.1562, allocations: 0.5113 MB / 0.6612 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.726e-05/0.1563, allocations: 0 / 0.6612 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001311/0.1564, allocations: 7.875 kB / 0.6613 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.654e-05/0.1565, allocations: 19.84 kB / 0.6613 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000273/0.1568, allocations: 35.91 kB / 0.6613 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.1569, allocations: 79.7 kB / 0.6614 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.1571, allocations: 44.2 kB / 0.6614 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.1572, allocations: 39.84 kB / 0.6615 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.941e-05/0.1573, allocations: 35.84 kB / 0.6615 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.908e-05/0.1574, allocations: 8 kB / 0.6615 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.624e-05/0.1574, allocations: 19.98 kB / 0.6615 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.589e-05/0.1575, allocations: 19.92 kB / 0.6615 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.611e-05/0.1575, allocations: 39.73 kB / 0.6616 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.1577, allocations: 90.45 kB / 0.6617 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1577, allocations: 0 / 0.6617 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.974e-06/0.1578, allocations: 0 / 0.6617 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.1578, allocations: 0 / 0.6617 GB, free: 8.191 MB / 0.4981 GB 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.0006421/0.1584, allocations: 404 kB / 0.6621 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.1585, allocations: 11.97 kB / 0.6621 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.166e-05/0.1585, allocations: 46.69 kB / 0.6621 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.494e-05/0.1586, allocations: 12.75 kB / 0.6621 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.1588, allocations: 193.6 kB / 0.6623 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.1588, allocations: 8.312 kB / 0.6623 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.1588, allocations: 4.375 kB / 0.6623 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003052/0.1592, allocations: 116.3 kB / 0.6624 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.1592, allocations: 0 / 0.6624 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.1592, allocations: 0 / 0.6624 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.1592, allocations: 3.984 kB / 0.6624 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002404/0.1595, allocations: 99.94 kB / 0.6625 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007051/0.1602, allocations: 384.4 kB / 0.6629 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.1603, allocations: 62.55 kB / 0.663 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.1605, allocations: 48.95 kB / 0.663 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.971e-05/0.1605, allocations: 4 kB / 0.663 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.1606, allocations: 34.5 kB / 0.663 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.723e-06/0.1606, allocations: 0 / 0.663 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0005003/0.1611, allocations: 169.5 kB / 0.6632 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.1611, allocations: 55.34 kB / 0.6633 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.1613, allocations: 132 kB / 0.6634 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.1613, allocations: 25.7 kB / 0.6634 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.839e-05/0.1614, allocations: 112.1 kB / 0.6635 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.1614, allocations: 7.812 kB / 0.6635 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.347e-05/0.1615, allocations: 25.7 kB / 0.6635 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.1616, allocations: 318.8 kB / 0.6638 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.1618, allocations: 43.97 kB / 0.6639 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.746e-05/0.1619, allocations: 35.97 kB / 0.6639 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/0.1621, allocations: 89.12 kB / 0.664 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1621, allocations: 0 / 0.664 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003136/0.1624, allocations: 133.5 kB / 0.6641 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.1624, allocations: 8 kB / 0.6641 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1625, allocations: 0 / 0.6641 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.1625, allocations: 3.938 kB / 0.6641 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.1626, allocations: 19.92 kB / 0.6642 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1626, allocations: 0 / 0.6642 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.99e-05/0.1627, allocations: 15.89 kB / 0.6642 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.1628, allocations: 4 kB / 0.6642 GB, free: 5.387 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.0001265/0.1629, allocations: 130.6 kB / 0.6643 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.832e-05/0.1629, allocations: 7.906 kB / 0.6643 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003533/0.1633, allocations: 138.3 kB / 0.6644 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.1633, allocations: 3.938 kB / 0.6645 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.389e-05/0.1633, allocations: 4 kB / 0.6645 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1634, allocations: 0 / 0.6645 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002252/0.1636, allocations: 213.5 kB / 0.6647 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1636, allocations: 0 / 0.6647 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.1637, allocations: 19.98 kB / 0.6647 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.1637, allocations: 0 / 0.6647 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.1637, allocations: 3.938 kB / 0.6647 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.1637, allocations: 7.938 kB / 0.6647 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1637, allocations: 0 / 0.6647 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003124/0.1641, allocations: 219.6 kB / 0.6649 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.165e-05/0.1641, allocations: 89.02 kB / 0.665 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.1642, allocations: 7.984 kB / 0.665 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.981e-05/0.1643, allocations: 7.938 kB / 0.665 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/0.1643, allocations: 11.98 kB / 0.665 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.1643, allocations: 0 / 0.665 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.993e-05/0.1644, allocations: 101 kB / 0.6651 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.1644, allocations: 0 / 0.6651 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002384/0.1646, allocations: 19.98 kB / 0.6651 GB, free: 4.316 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.0005957/0.1653, allocations: 0.7651 MB / 0.6659 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002592/0.1655, allocations: 91.94 kB / 0.666 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.1655, allocations: 4 kB / 0.666 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.1657, allocations: 55.91 kB / 0.666 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.1659, allocations: 11.94 kB / 0.666 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001934/0.1678, allocations: 1.591 MB / 0.6676 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.1682, allocations: 0.7118 MB / 0.6683 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000144/0.1683, allocations: 15.97 kB / 0.6683 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.854e-05/0.1684, allocations: 31.36 kB / 0.6683 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of SimCode: time 3.91e-07/0.1684, allocations: 0 / 0.6683 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01796/0.1864, allocations: 2.014 MB / 0.6703 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.579/7.765, allocations: 15.5 kB / 0.6703 GB, free: 14.97 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_VectorFunctions.fmu > IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)