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.001521/0.001521, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001862/0.001862, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.369/1.369, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7524/0.7524, allocations: 132.2 MB / 422.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 59.78 kB / 0.5019 GB, free: 3.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.3713, allocations: 80.21 MB / 0.5802 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001929/0.3732, allocations: 0.5631 MB / 0.5808 GB, free: 4.199 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006147/0.3739, allocations: 328.9 kB / 0.5811 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.978e-05/0.3739, allocations: 0 / 0.5811 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.543e-05/0.374, allocations: 1.312 kB / 0.5811 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.869e-06/0.374, allocations: 0 / 0.5811 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005888/0.3746, allocations: 104.3 kB / 0.5812 GB, free: 3.945 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.475e-05/0.3746, allocations: 1.125 kB / 0.5812 GB, free: 3.945 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.3e-05/0.3747, allocations: 2.312 kB / 0.5812 GB, free: 3.945 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.493e-05/0.3747, allocations: 1.469 kB / 0.5812 GB, free: 3.945 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.274e-05/0.3747, allocations: 0.5625 kB / 0.5812 GB, free: 3.945 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.004e-05/0.3747, allocations: 3.938 kB / 0.5812 GB, free: 3.941 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005956/0.3753, allocations: 275.4 kB / 0.5814 GB, free: 3.871 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.508e-05/0.3754, allocations: 4.875 kB / 0.5815 GB, free: 3.867 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.943e-05/0.3754, allocations: 7.984 kB / 0.5815 GB, free: 3.859 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002447/0.3756, allocations: 83.11 kB / 0.5815 GB, free: 3.836 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3757, allocations: 0.9062 kB / 0.5815 GB, free: 3.836 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3757, allocations: 0.8906 kB / 0.5815 GB, free: 3.836 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.3757, allocations: 0 / 0.5815 GB, free: 3.836 MB / 430.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.0003056/0.376, allocations: 332.3 kB / 0.5819 GB, free: 3.473 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.376, allocations: 9.156 kB / 0.5819 GB, free: 3.473 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.881e-05/0.3761, allocations: 31.45 kB / 0.5819 GB, free: 3.434 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.557e-05/0.3761, allocations: 1.656 kB / 0.5819 GB, free: 3.434 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.678e-05/0.3762, allocations: 162.6 kB / 0.5821 GB, free: 3.238 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.3762, allocations: 8.375 kB / 0.5821 GB, free: 3.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.3762, allocations: 1.625 kB / 0.5821 GB, free: 3.23 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.26e-05/0.3763, allocations: 32.73 kB / 0.5821 GB, free: 3.195 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.3763, allocations: 8.547 kB / 0.5821 GB, free: 3.188 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.3763, allocations: 0 / 0.5821 GB, free: 3.188 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.3763, allocations: 1.125 kB / 0.5821 GB, free: 3.188 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.146e-05/0.3764, allocations: 6.297 kB / 0.5821 GB, free: 3.184 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001061/0.3765, allocations: 144.1 kB / 0.5822 GB, free: 2.996 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.499e-05/0.3765, allocations: 24.3 kB / 0.5823 GB, free: 2.965 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.71e-05/0.3765, allocations: 6.594 kB / 0.5823 GB, free: 2.957 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004588/0.377, allocations: 426.3 kB / 0.5827 GB, free: 2.484 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.377, allocations: 34.56 kB / 0.5827 GB, free: 2.441 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.377, allocations: 4 kB / 0.5827 GB, free: 2.438 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.000162/0.3772, allocations: 41.28 kB / 0.5828 GB, free: 2.398 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/0.3772, allocations: 51.92 kB / 0.5828 GB, free: 2.336 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.957e-05/0.3773, allocations: 89.86 kB / 0.5829 GB, free: 2.238 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.442e-06/0.3773, allocations: 26.42 kB / 0.5829 GB, free: 2.207 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.368e-05/0.3773, allocations: 80.84 kB / 0.583 GB, free: 2.125 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.3773, allocations: 5.188 kB / 0.583 GB, free: 2.121 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-05/0.3774, allocations: 19.83 kB / 0.583 GB, free: 2.098 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.626e-05/0.3774, allocations: 316.8 kB / 0.5833 GB, free: 1.781 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.004e-05/0.3774, allocations: 0.8125 kB / 0.5833 GB, free: 1.781 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.893e-06/0.3774, allocations: 1.531 kB / 0.5833 GB, free: 1.781 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.651e-05/0.3775, allocations: 8.078 kB / 0.5833 GB, free: 1.773 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3775, allocations: 0 / 0.5833 GB, free: 1.773 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.928e-05/0.3776, allocations: 37.28 kB / 0.5834 GB, free: 1.738 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.3776, allocations: 4.844 kB / 0.5834 GB, free: 1.738 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.3776, allocations: 4.625 kB / 0.5834 GB, free: 1.734 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.3776, allocations: 5.266 kB / 0.5834 GB, free: 1.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.387e-05/0.3777, allocations: 1.688 kB / 0.5834 GB, free: 1.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.3777, allocations: 0.75 kB / 0.5834 GB, free: 1.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.175e-05/0.3777, allocations: 0.8438 kB / 0.5834 GB, free: 1.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.3777, allocations: 0.7031 kB / 0.5834 GB, free: 1.73 MB / 430.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 4.79e-05/0.3778, allocations: 112.5 kB / 0.5835 GB, free: 1.613 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/0.3778, allocations: 0.7188 kB / 0.5835 GB, free: 1.613 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.192e-05/0.3779, allocations: 49.97 kB / 0.5835 GB, free: 1.566 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3779, allocations: 1.062 kB / 0.5835 GB, free: 1.566 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3779, allocations: 0.5625 kB / 0.5835 GB, free: 1.566 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.3779, allocations: 0 / 0.5835 GB, free: 1.566 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.498e-05/0.378, allocations: 148.9 kB / 0.5837 GB, free: 1.375 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.378, allocations: 0.7031 kB / 0.5837 GB, free: 1.375 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.377e-05/0.378, allocations: 1.875 kB / 0.5837 GB, free: 1.375 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.378, allocations: 1.641 kB / 0.5837 GB, free: 1.375 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.378, allocations: 3.938 kB / 0.5837 GB, free: 1.371 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.378, allocations: 1.094 kB / 0.5837 GB, free: 1.371 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3781, allocations: 7.969 kB / 0.5837 GB, free: 1.363 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.002e-05/0.3781, allocations: 53.97 kB / 0.5838 GB, free: 1.301 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.599e-05/0.3781, allocations: 82.81 kB / 0.5838 GB, free: 1.203 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.3782, allocations: 5.781 kB / 0.5838 GB, free: 1.199 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.384e-06/0.3782, allocations: 0 / 0.5838 GB, free: 1.199 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.182e-05/0.3782, allocations: 5.062 kB / 0.5838 GB, free: 1.195 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.3782, allocations: 4.797 kB / 0.5838 GB, free: 1.191 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.348e-05/0.3782, allocations: 82.95 kB / 0.5839 GB, free: 1.113 MB / 430.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3782, allocations: 0 / 0.5839 GB, free: 1.113 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002271/0.3785, allocations: 8.891 kB / 0.5839 GB, free: 1.113 MB / 430.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.0003118/0.3788, allocations: 0.6053 MB / 0.5845 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 7.885e-05/0.3789, allocations: 8.469 kB / 0.5845 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3789, allocations: 1.062 kB / 0.5845 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.906e-06/0.3789, allocations: 5.281 kB / 0.5845 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/0.3791, allocations: 5.438 kB / 0.5845 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003138/0.3794, allocations: 117.2 kB / 0.5847 GB, free: 372 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/0.3796, allocations: 0.6721 MB / 0.5853 GB, free: 15.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.836e-05/0.3796, allocations: 0.6562 kB / 0.5853 GB, free: 15.67 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.837e-05/0.3797, allocations: 8.5 kB / 0.5853 GB, free: 15.66 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3797, allocations: 4 kB / 0.5853 GB, free: 15.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01828/0.398, allocations: 1.137 MB / 0.5864 GB, free: 15.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.499/7.897, allocations: 7.641 kB / 0.5864 GB, free: 15.33 MB / 446.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)