Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.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.Functions.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower",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.004297/0.004297, allocations: 102 kB / 15.73 MB, free: 6.441 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.00124/0.00124, allocations: 196.3 kB / 16.67 MB, free: 6.352 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7942/0.7942, allocations: 132.2 MB / 422.7 MB, free: 1.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 68.86 kB / 0.5809 GB, free: 1.066 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1572, allocations: 80.2 MB / 0.6592 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001448/0.1587, allocations: 0.5759 MB / 0.6598 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000569/0.1592, allocations: 325.5 kB / 0.6601 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.272e-05/0.1593, allocations: 11.88 kB / 0.6601 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.514e-06/0.1593, allocations: 0 / 0.6601 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.416e-06/0.1593, allocations: 0 / 0.6601 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003456/0.1596, allocations: 91.72 kB / 0.6602 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 2.376e-05/0.1597, allocations: 7.984 kB / 0.6602 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 2.64e-05/0.1597, allocations: 0 / 0.6602 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.925e-06/0.1597, allocations: 4 kB / 0.6602 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.41e-05/0.1597, allocations: 4 kB / 0.6602 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.7e-06/0.1597, allocations: 0 / 0.6602 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004156/0.1602, allocations: 275.6 kB / 0.6605 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.643e-06/0.1602, allocations: 0 / 0.6605 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.456e-06/0.1602, allocations: 0 / 0.6605 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.1603, allocations: 92 kB / 0.6606 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1604, allocations: 0 / 0.6606 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.01e-07/0.1604, allocations: 3.938 kB / 0.6606 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.206e-06/0.1604, allocations: 0 / 0.6606 GB, free: 12.55 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002856/0.1607, allocations: 343.3 kB / 0.6609 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.738e-05/0.1607, allocations: 8.031 kB / 0.6609 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.98e-05/0.1607, allocations: 30.75 kB / 0.6609 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.1608, allocations: 4.938 kB / 0.661 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.1609, allocations: 160.4 kB / 0.6611 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.363e-06/0.1609, allocations: 384 / 0.6611 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.727e-06/0.1609, allocations: 4.375 kB / 0.6611 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.262e-05/0.161, allocations: 30.25 kB / 0.6611 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.161, allocations: 3.938 kB / 0.6611 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.268e-06/0.161, allocations: 4 kB / 0.6611 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.264e-06/0.161, allocations: 0 / 0.6611 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.567e-05/0.161, allocations: 7.938 kB / 0.6612 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001303/0.1612, allocations: 141.7 kB / 0.6613 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.424e-05/0.1612, allocations: 22.61 kB / 0.6613 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.266e-05/0.1612, allocations: 4.859 kB / 0.6613 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004806/0.1617, allocations: 429.6 kB / 0.6617 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.1617, allocations: 34.55 kB / 0.6618 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.1617, allocations: 0 / 0.6618 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001132/0.1619, allocations: 37.58 kB / 0.6618 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.1619, allocations: 51.41 kB / 0.6618 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.199e-05/0.162, allocations: 93.86 kB / 0.6619 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.162, allocations: 29.83 kB / 0.662 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.277e-05/0.162, allocations: 80.14 kB / 0.662 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.162, allocations: 3.953 kB / 0.662 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/0.1621, allocations: 13.72 kB / 0.6621 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.1622, allocations: 314.8 kB / 0.6624 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.325e-06/0.1622, allocations: 3.938 kB / 0.6624 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.175e-06/0.1622, allocations: 3.984 kB / 0.6624 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.56e-05/0.1623, allocations: 12.92 kB / 0.6624 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.1623, allocations: 0 / 0.6624 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.931e-05/0.1623, allocations: 37.62 kB / 0.6624 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.1624, allocations: 8 kB / 0.6624 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1624, allocations: 3.938 kB / 0.6624 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.719e-06/0.1624, allocations: 3.938 kB / 0.6624 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.742e-05/0.1624, allocations: 0 / 0.6624 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.1624, allocations: 3.984 kB / 0.6624 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.041e-05/0.1624, allocations: 4 kB / 0.6624 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-06/0.1624, allocations: 4 kB / 0.6624 GB, free: 10.32 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 (1): * Single equations (assignments): 1 * 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 6.683e-05/0.1625, allocations: 113.9 kB / 0.6625 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.813e-05/0.1625, allocations: 0 / 0.6625 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.059e-05/0.1626, allocations: 40.77 kB / 0.6626 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.1626, allocations: 4 kB / 0.6626 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1627, allocations: 3.938 kB / 0.6626 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.1627, allocations: 0 / 0.6626 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.1628, allocations: 149.7 kB / 0.6627 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.1628, allocations: 0 / 0.6627 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.319e-05/0.1628, allocations: 8.031 kB / 0.6627 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.1628, allocations: 0 / 0.6627 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.1628, allocations: 3.938 kB / 0.6627 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1628, allocations: 0 / 0.6627 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.1628, allocations: 0 / 0.6627 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.117e-05/0.1629, allocations: 57.12 kB / 0.6628 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.126e-05/0.163, allocations: 77.11 kB / 0.6629 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-06/0.163, allocations: 3.938 kB / 0.6629 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.827e-06/0.163, allocations: 8.031 kB / 0.6629 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.655e-06/0.163, allocations: 0 / 0.6629 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.163, allocations: 4 kB / 0.6629 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.082e-05/0.163, allocations: 75.28 kB / 0.663 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.163, allocations: 0 / 0.663 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001946/0.1632, allocations: 8 kB / 0.663 GB, free: 9.672 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 (1): * Single equations (assignments): 1 * 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.0004252/0.1637, allocations: 0.6162 MB / 0.6636 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.607e-05/0.1637, allocations: 4 kB / 0.6636 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1637, allocations: 0 / 0.6636 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.386e-06/0.1638, allocations: 3.938 kB / 0.6636 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001188/0.1639, allocations: 5.875 kB / 0.6636 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002683/0.1642, allocations: 114.7 kB / 0.6637 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.1644, allocations: 0.6729 MB / 0.6643 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.339e-05/0.1645, allocations: 3.938 kB / 0.6644 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.576e-05/0.1645, allocations: 11.44 kB / 0.6644 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1645, allocations: 0 / 0.6644 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02084/0.1853, allocations: 1.173 MB / 0.6655 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.312/8.497, allocations: 0.6562 kB / 0.6655 GB, free: 7.09 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)