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.005923/0.005923, allocations: 101.8 kB / 15.73 MB, free: 6 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.001204/0.001203, allocations: 193.5 kB / 16.67 MB, free: 5.926 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.791/0.791, allocations: 135.1 MB / 425.7 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 64.41 kB / 0.5852 GB, free: 21.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1511, allocations: 80.92 MB / 0.6642 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001768/0.1529, allocations: 0.5681 MB / 0.6648 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006293/0.1535, allocations: 321.8 kB / 0.6651 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.49e-05/0.1536, allocations: 3.938 kB / 0.6651 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.476e-05/0.1536, allocations: 0 / 0.6651 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.461e-06/0.1536, allocations: 3.938 kB / 0.6651 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004301/0.154, allocations: 110.4 kB / 0.6652 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.698e-05/0.1541, allocations: 0 / 0.6652 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.891e-05/0.1541, allocations: 0 / 0.6652 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.26e-05/0.1541, allocations: 4 kB / 0.6652 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.949e-05/0.1542, allocations: 4 kB / 0.6652 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.696e-06/0.1542, allocations: 0 / 0.6652 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003917/0.1546, allocations: 275.6 kB / 0.6654 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.057e-05/0.1546, allocations: 3.984 kB / 0.6654 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.642e-05/0.1546, allocations: 4 kB / 0.6654 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.1548, allocations: 79.86 kB / 0.6655 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1548, allocations: 4 kB / 0.6655 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1548, allocations: 0 / 0.6655 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.1548, allocations: 0 / 0.6655 GB, free: 4.906 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.1551, allocations: 335.6 kB / 0.6658 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.1552, allocations: 13.05 kB / 0.6659 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.454e-05/0.1552, allocations: 30.75 kB / 0.6659 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.593e-05/0.1553, allocations: 4.922 kB / 0.6659 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.175e-05/0.1554, allocations: 164.4 kB / 0.6661 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.1554, allocations: 4.312 kB / 0.6661 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.292e-06/0.1554, allocations: 384 / 0.6661 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.466e-05/0.1555, allocations: 30.25 kB / 0.6661 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.1555, allocations: 3.938 kB / 0.6661 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-06/0.1555, allocations: 4 kB / 0.6661 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.1555, allocations: 4 kB / 0.6661 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.8e-05/0.1555, allocations: 0 / 0.6661 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001243/0.1557, allocations: 149.7 kB / 0.6662 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.564e-05/0.1557, allocations: 22.55 kB / 0.6663 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.382e-05/0.1557, allocations: 4.859 kB / 0.6663 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004625/0.1562, allocations: 429.6 kB / 0.6667 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.1562, allocations: 30.56 kB / 0.6667 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.1562, allocations: 0 / 0.6667 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001344/0.1564, allocations: 33.64 kB / 0.6667 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/0.1564, allocations: 55.41 kB / 0.6668 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.509e-05/0.1564, allocations: 93.84 kB / 0.6669 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.1565, allocations: 29.83 kB / 0.6669 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.185e-05/0.1565, allocations: 80.14 kB / 0.667 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/0.1565, allocations: 4 kB / 0.667 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.1566, allocations: 13.72 kB / 0.667 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.499e-05/0.1567, allocations: 310.8 kB / 0.6673 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.847e-06/0.1567, allocations: 3.938 kB / 0.6673 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.851e-06/0.1567, allocations: 0 / 0.6673 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.67e-05/0.1567, allocations: 12.92 kB / 0.6673 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1567, allocations: 0 / 0.6673 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.809e-05/0.1568, allocations: 37.69 kB / 0.6673 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.1568, allocations: 8 kB / 0.6674 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1568, allocations: 3.938 kB / 0.6674 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.1568, allocations: 0 / 0.6674 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.722e-05/0.1569, allocations: 0 / 0.6674 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.1569, allocations: 11.88 kB / 0.6674 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.165e-05/0.1569, allocations: 0 / 0.6674 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.1569, allocations: 7.938 kB / 0.6674 GB, free: 2.684 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 5.733e-05/0.157, allocations: 109.9 kB / 0.6675 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.065e-05/0.157, allocations: 0 / 0.6675 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.309e-05/0.1571, allocations: 47.56 kB / 0.6675 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1571, allocations: 0 / 0.6675 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1571, allocations: 0 / 0.6675 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.1571, allocations: 0 / 0.6675 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.844e-05/0.1572, allocations: 145.7 kB / 0.6677 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1572, allocations: 0 / 0.6677 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.462e-05/0.1572, allocations: 12.02 kB / 0.6677 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1572, allocations: 0 / 0.6677 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-06/0.1572, allocations: 3.938 kB / 0.6677 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1572, allocations: 0 / 0.6677 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1572, allocations: 0 / 0.6677 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.481e-05/0.1573, allocations: 61.08 kB / 0.6677 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.66e-05/0.1574, allocations: 77.11 kB / 0.6678 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.1574, allocations: 7.922 kB / 0.6678 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.723e-06/0.1574, allocations: 4.031 kB / 0.6678 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.218e-05/0.1574, allocations: 0 / 0.6678 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.1574, allocations: 4 kB / 0.6678 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.239e-05/0.1574, allocations: 75.28 kB / 0.6679 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1574, allocations: 0 / 0.6679 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001942/0.1576, allocations: 12 kB / 0.6679 GB, free: 2.031 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.0003709/0.158, allocations: 0.6137 MB / 0.6685 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.514e-05/0.1581, allocations: 4 kB / 0.6685 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1581, allocations: 0 / 0.6685 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.575e-06/0.1581, allocations: 4 kB / 0.6685 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001253/0.1582, allocations: 5.969 kB / 0.6685 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002782/0.1585, allocations: 122.5 kB / 0.6686 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.1588, allocations: 0.673 MB / 0.6693 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.726e-05/0.1588, allocations: 4 kB / 0.6693 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.627e-05/0.1588, allocations: 7.438 kB / 0.6693 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1588, allocations: 3.938 kB / 0.6693 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01697/0.1758, allocations: 1.187 MB / 0.6705 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.434/7.61, allocations: 0.5938 kB / 0.6705 GB, free: 15.4 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)