Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_dev_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.004982/0.004982, allocations: 100.8 kB / 15.73 MB, free: 6.039 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.001268/0.001268, allocations: 192.1 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8481/0.8481, allocations: 135.6 MB / 426.1 MB, free: 3.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001849/0.00185, allocations: 74.02 kB / 0.5858 GB, free: 21.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1517, allocations: 81.02 MB / 0.6649 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001794/0.1536, allocations: 0.5642 MB / 0.6655 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006661/0.1543, allocations: 321.8 kB / 0.6658 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.493e-05/0.1543, allocations: 0 / 0.6658 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.422e-05/0.1543, allocations: 4 kB / 0.6658 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.45e-06/0.1544, allocations: 0 / 0.6658 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004522/0.1548, allocations: 107.7 kB / 0.6659 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.253e-05/0.1549, allocations: 7.938 kB / 0.6659 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.133e-05/0.1549, allocations: 3.984 kB / 0.6659 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.206e-05/0.1549, allocations: 0 / 0.6659 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.818e-05/0.1549, allocations: 0 / 0.6659 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.586e-06/0.155, allocations: 0 / 0.6659 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004361/0.1554, allocations: 275.7 kB / 0.6661 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.558e-06/0.1554, allocations: 4 kB / 0.6661 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.506e-05/0.1554, allocations: 0 / 0.6661 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.1556, allocations: 92 kB / 0.6662 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1556, allocations: 0 / 0.6662 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1556, allocations: 0 / 0.6662 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.899e-06/0.1557, allocations: 0 / 0.6662 GB, free: 4.219 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.0003442/0.156, allocations: 335.3 kB / 0.6666 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.1561, allocations: 13.11 kB / 0.6666 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.375e-05/0.1561, allocations: 34.73 kB / 0.6666 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.927e-05/0.1562, allocations: 4.938 kB / 0.6666 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.1563, allocations: 168.3 kB / 0.6668 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.1563, allocations: 384 / 0.6668 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.797e-06/0.1563, allocations: 384 / 0.6668 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.982e-05/0.1564, allocations: 34.27 kB / 0.6668 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.1564, allocations: 3.938 kB / 0.6668 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/0.1564, allocations: 3.984 kB / 0.6668 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.1564, allocations: 0 / 0.6668 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.845e-05/0.1564, allocations: 0 / 0.6668 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001525/0.1566, allocations: 157.6 kB / 0.667 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.924e-05/0.1567, allocations: 14.58 kB / 0.667 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.612e-05/0.1567, allocations: 8.953 kB / 0.667 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005236/0.1572, allocations: 421.5 kB / 0.6674 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.1572, allocations: 38.56 kB / 0.6674 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.342e-06/0.1572, allocations: 3.938 kB / 0.6674 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001405/0.1574, allocations: 41.58 kB / 0.6675 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.1574, allocations: 55.39 kB / 0.6675 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.389e-05/0.1575, allocations: 89.86 kB / 0.6676 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.1575, allocations: 25.7 kB / 0.6676 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.892e-05/0.1576, allocations: 80.14 kB / 0.6677 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.1576, allocations: 4 kB / 0.6677 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.793e-05/0.1576, allocations: 13.84 kB / 0.6677 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.1577, allocations: 310.8 kB / 0.668 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.018e-05/0.1578, allocations: 4 kB / 0.668 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.849e-06/0.1578, allocations: 4 kB / 0.668 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.444e-05/0.1578, allocations: 4.859 kB / 0.668 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1578, allocations: 4 kB / 0.668 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.119e-05/0.1579, allocations: 41.58 kB / 0.6681 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.1579, allocations: 4 kB / 0.6681 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1579, allocations: 8.031 kB / 0.6681 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.1579, allocations: 4 kB / 0.6681 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.627e-05/0.158, allocations: 0 / 0.6681 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.158, allocations: 0 / 0.6681 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.347e-06/0.158, allocations: 0 / 0.6681 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.158, allocations: 0 / 0.6681 GB, free: 1.996 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 8.161e-05/0.1581, allocations: 113.8 kB / 0.6682 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.025e-05/0.1581, allocations: 4 kB / 0.6682 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.403e-05/0.1582, allocations: 44.75 kB / 0.6682 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1582, allocations: 0 / 0.6682 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1582, allocations: 0 / 0.6682 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1582, allocations: 0 / 0.6682 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.1583, allocations: 149.6 kB / 0.6684 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.1583, allocations: 3.984 kB / 0.6684 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.065e-05/0.1584, allocations: 0 / 0.6684 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.1584, allocations: 0 / 0.6684 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.1584, allocations: 7.938 kB / 0.6684 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.1584, allocations: 4 kB / 0.6684 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1584, allocations: 4.031 kB / 0.6684 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.661e-05/0.1585, allocations: 53.14 kB / 0.6685 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.788e-05/0.1585, allocations: 85.09 kB / 0.6685 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.016e-05/0.1585, allocations: 3.938 kB / 0.6685 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.472e-06/0.1586, allocations: 0 / 0.6685 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.747e-06/0.1586, allocations: 0 / 0.6685 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.1586, allocations: 0 / 0.6685 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.179e-05/0.1586, allocations: 79.31 kB / 0.6686 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1586, allocations: 0 / 0.6686 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001868/0.1588, allocations: 15.94 kB / 0.6686 GB, free: 1.332 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.0004414/0.1592, allocations: 0.6123 MB / 0.6692 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.34e-05/0.1593, allocations: 8.031 kB / 0.6692 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1593, allocations: 0 / 0.6692 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.248e-06/0.1593, allocations: 3.984 kB / 0.6692 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001223/0.1595, allocations: 7.938 kB / 0.6692 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000265/0.1597, allocations: 110.6 kB / 0.6694 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.16, allocations: 0.669 MB / 0.67 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.785e-05/0.1601, allocations: 3.984 kB / 0.67 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.5e-05/0.1601, allocations: 7.438 kB / 0.67 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.1601, allocations: 4.125 kB / 0.67 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02109/0.1812, allocations: 1.174 MB / 0.6712 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.55/7.731, allocations: 12.83 kB / 0.6712 GB, free: 14.71 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)