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.001046/0.001046, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001082/0.001082, allocations: 190.5 kB / 16.25 MB, free: 6.629 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.28/1.28, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7486/0.7486, allocations: 132.2 MB / 422.3 MB, free: 1.926 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 63.47 kB / 0.5014 GB, free: 8.992 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1371, allocations: 80.21 MB / 0.5797 GB, free: 9.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001746/0.1389, allocations: 0.6337 MB / 0.5803 GB, free: 8.371 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005894/0.1395, allocations: 328.7 kB / 0.5806 GB, free: 8.051 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.182e-05/0.1395, allocations: 0 / 0.5806 GB, free: 8.051 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.7e-05/0.1395, allocations: 7.938 kB / 0.5806 GB, free: 8.043 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.27e-06/0.1396, allocations: 0 / 0.5806 GB, free: 8.043 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003714/0.1399, allocations: 90.84 kB / 0.5807 GB, free: 7.957 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.078e-05/0.14, allocations: 0 / 0.5807 GB, free: 7.957 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.723e-05/0.14, allocations: 3.984 kB / 0.5807 GB, free: 7.953 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.179e-05/0.14, allocations: 0 / 0.5807 GB, free: 7.953 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.006e-05/0.14, allocations: 7.938 kB / 0.5807 GB, free: 7.945 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.656e-06/0.1401, allocations: 0 / 0.5807 GB, free: 7.945 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003604/0.1404, allocations: 279.6 kB / 0.581 GB, free: 7.672 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.024e-05/0.1404, allocations: 3.984 kB / 0.581 GB, free: 7.668 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.508e-05/0.1405, allocations: 4 kB / 0.581 GB, free: 7.664 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.1406, allocations: 79.86 kB / 0.5811 GB, free: 7.586 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.1406, allocations: 0 / 0.5811 GB, free: 7.586 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1406, allocations: 4 kB / 0.5811 GB, free: 7.582 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1406, allocations: 0 / 0.5811 GB, free: 7.582 MB / 494.1 MB 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.0002896/0.1409, allocations: 331.6 kB / 0.5814 GB, free: 7.207 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.141, allocations: 8.031 kB / 0.5814 GB, free: 7.199 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.58e-05/0.141, allocations: 30.75 kB / 0.5814 GB, free: 7.16 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.79e-05/0.141, allocations: 4.938 kB / 0.5814 GB, free: 7.156 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.019e-05/0.1411, allocations: 160.4 kB / 0.5816 GB, free: 6.961 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.447e-06/0.1411, allocations: 4.375 kB / 0.5816 GB, free: 6.957 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-06/0.1412, allocations: 384 / 0.5816 GB, free: 6.957 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.84e-05/0.1412, allocations: 38.19 kB / 0.5816 GB, free: 6.914 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.1413, allocations: 3.938 kB / 0.5816 GB, free: 6.91 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.901e-06/0.1413, allocations: 0 / 0.5816 GB, free: 6.91 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1413, allocations: 0 / 0.5816 GB, free: 6.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.532e-05/0.1413, allocations: 4 kB / 0.5817 GB, free: 6.906 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001181/0.1414, allocations: 145.7 kB / 0.5818 GB, free: 6.715 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.519e-05/0.1415, allocations: 22.55 kB / 0.5818 GB, free: 6.684 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.387e-05/0.1415, allocations: 8.859 kB / 0.5818 GB, free: 6.672 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000452/0.1419, allocations: 425.5 kB / 0.5822 GB, free: 6.164 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.142, allocations: 38.5 kB / 0.5823 GB, free: 6.117 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.142, allocations: 0 / 0.5823 GB, free: 6.117 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001273/0.1421, allocations: 41.62 kB / 0.5823 GB, free: 6.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.137e-05/0.1422, allocations: 55.41 kB / 0.5824 GB, free: 6.004 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.336e-05/0.1422, allocations: 89.86 kB / 0.5824 GB, free: 5.906 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.1422, allocations: 25.7 kB / 0.5825 GB, free: 5.875 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.379e-05/0.1423, allocations: 80.14 kB / 0.5825 GB, free: 5.793 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.1423, allocations: 3.906 kB / 0.5825 GB, free: 5.789 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.262e-05/0.1423, allocations: 13.84 kB / 0.5826 GB, free: 5.77 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.618e-05/0.1424, allocations: 318.8 kB / 0.5829 GB, free: 5.449 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.955e-06/0.1425, allocations: 0 / 0.5829 GB, free: 5.449 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.803e-06/0.1425, allocations: 3.938 kB / 0.5829 GB, free: 5.445 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.812e-05/0.1425, allocations: 12.84 kB / 0.5829 GB, free: 5.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1425, allocations: 0 / 0.5829 GB, free: 5.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.653e-05/0.1426, allocations: 29.7 kB / 0.5829 GB, free: 5.395 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.1426, allocations: 12.09 kB / 0.5829 GB, free: 5.383 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1426, allocations: 3.938 kB / 0.5829 GB, free: 5.379 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.797e-06/0.1426, allocations: 0 / 0.5829 GB, free: 5.379 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.334e-05/0.1426, allocations: 0 / 0.5829 GB, free: 5.379 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.1427, allocations: 0 / 0.5829 GB, free: 5.379 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.006e-05/0.1427, allocations: 4 kB / 0.5829 GB, free: 5.375 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.1427, allocations: 0 / 0.5829 GB, free: 5.375 MB / 494.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 (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 7.428e-05/0.1428, allocations: 113.8 kB / 0.583 GB, free: 5.254 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.797e-05/0.1428, allocations: 0 / 0.583 GB, free: 5.254 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.024e-05/0.1429, allocations: 48.98 kB / 0.5831 GB, free: 5.195 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1429, allocations: 4 kB / 0.5831 GB, free: 5.191 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1429, allocations: 0 / 0.5831 GB, free: 5.191 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.1429, allocations: 0 / 0.5831 GB, free: 5.191 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.699e-05/0.143, allocations: 145.7 kB / 0.5832 GB, free: 5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.143, allocations: 0 / 0.5832 GB, free: 5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.329e-05/0.143, allocations: 4 kB / 0.5832 GB, free: 4.996 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.143, allocations: 3.938 kB / 0.5832 GB, free: 4.992 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.143, allocations: 3.938 kB / 0.5832 GB, free: 4.988 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.143, allocations: 0 / 0.5832 GB, free: 4.988 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.143, allocations: 4.031 kB / 0.5832 GB, free: 4.984 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.327e-05/0.1431, allocations: 65.06 kB / 0.5833 GB, free: 4.902 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.1432, allocations: 81.05 kB / 0.5834 GB, free: 4.805 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.1432, allocations: 3.938 kB / 0.5834 GB, free: 4.801 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.672e-06/0.1433, allocations: 0 / 0.5834 GB, free: 4.801 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.686e-06/0.1433, allocations: 0 / 0.5834 GB, free: 4.801 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.1433, allocations: 4 kB / 0.5834 GB, free: 4.797 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.694e-05/0.1433, allocations: 83.25 kB / 0.5835 GB, free: 4.715 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1433, allocations: 0 / 0.5835 GB, free: 4.715 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001926/0.1435, allocations: 8 kB / 0.5835 GB, free: 4.707 MB / 494.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 (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.0004826/0.144, allocations: 0.6163 MB / 0.5841 GB, free: 4.062 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.907e-05/0.1441, allocations: 11.97 kB / 0.5841 GB, free: 4.051 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1441, allocations: 0 / 0.5841 GB, free: 4.051 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.531e-06/0.1441, allocations: 0 / 0.5841 GB, free: 4.051 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001237/0.1442, allocations: 6.391 kB / 0.5841 GB, free: 4.047 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002471/0.1445, allocations: 114.6 kB / 0.5842 GB, free: 3.895 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.1447, allocations: 0.669 MB / 0.5849 GB, free: 3.199 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.464e-05/0.1447, allocations: 0 / 0.5849 GB, free: 3.199 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.295e-05/0.1447, allocations: 15.56 kB / 0.5849 GB, free: 3.188 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1447, allocations: 0 / 0.5849 GB, free: 3.188 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.156/0.3007, allocations: 1.064 MB / 0.5859 GB, free: 2.258 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001663/0.3009, allocations: 199.9 kB / 0.5861 GB, free: 2 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.765/2.066, allocations: 0 / 0.5861 GB, free: 2 MB / 494.1 MB (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)