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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9068/0.9068, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.583/1.583, allocations: 221.3 MB / 400.4 MB, free: 5.855 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009927/0.0009926, allocations: 100.3 kB / 483.3 MB, free: 5.898 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.352e-05/5.37e-05, allocations: 4.25 kB / 0.5601 GB, free: 87.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1825, allocations: 82.31 MB / 0.6405 GB, free: 7.73 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6522/0.8347, allocations: 111.1 MB / 0.7491 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/0.8351, allocations: 79.36 kB / 0.7491 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01107/0.8462, allocations: 4.035 MB / 0.7531 GB, free: 27.42 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.867e-06/0.8462, allocations: 2.859 kB / 0.7531 GB, free: 27.42 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.8462, allocations: 0 / 0.7531 GB, free: 27.42 MB / 0.5105 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.0003923/0.8466, allocations: 332.8 kB / 0.7534 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/0.8467, allocations: 11.31 kB / 0.7534 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.466e-05/0.8468, allocations: 35.25 kB / 0.7534 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.636e-05/0.8468, allocations: 0 / 0.7534 GB, free: 27.02 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.8469, allocations: 169.3 kB / 0.7536 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.847, allocations: 0 / 0.7536 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.847, allocations: 3.906 kB / 0.7536 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.8471, allocations: 25.7 kB / 0.7536 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.8471, allocations: 0 / 0.7536 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.8471, allocations: 0 / 0.7536 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.8471, allocations: 0.5 kB / 0.7536 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.41e-05/0.8472, allocations: 11.78 kB / 0.7536 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001264/0.8473, allocations: 152.1 kB / 0.7538 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.006e-05/0.8474, allocations: 18.45 kB / 0.7538 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.689e-05/0.8474, allocations: 4.859 kB / 0.7538 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005182/0.8479, allocations: 427.8 kB / 0.7542 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.848, allocations: 34.56 kB / 0.7542 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.863e-06/0.848, allocations: 0 / 0.7542 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001905/0.8482, allocations: 33.61 kB / 0.7543 GB, free: 26 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.8482, allocations: 58.22 kB / 0.7543 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.074e-05/0.8483, allocations: 88.31 kB / 0.7544 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.8483, allocations: 25.7 kB / 0.7544 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.966e-05/0.8483, allocations: 80.14 kB / 0.7545 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.8484, allocations: 12.39 kB / 0.7545 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-06/0.8484, allocations: 0 / 0.7545 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.8485, allocations: 310.8 kB / 0.7548 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.438e-06/0.8485, allocations: 0 / 0.7548 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.564e-06/0.8485, allocations: 3.844 kB / 0.7548 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.213e-05/0.8486, allocations: 3.938 kB / 0.7548 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.8486, allocations: 0 / 0.7548 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001106/0.8487, allocations: 43.59 kB / 0.7549 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.8487, allocations: 8 kB / 0.7549 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.8487, allocations: 0 / 0.7549 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.8488, allocations: 0 / 0.7549 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.71e-05/0.8488, allocations: 7.906 kB / 0.7549 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.8488, allocations: 0 / 0.7549 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.092e-05/0.8488, allocations: 0 / 0.7549 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.8489, allocations: 0 / 0.7549 GB, free: 25.37 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.361e-05/0.8489, allocations: 104.9 kB / 0.755 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.642e-05/0.849, allocations: 10.88 kB / 0.755 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.8491, allocations: 36.64 kB / 0.755 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.8491, allocations: 0 / 0.755 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.8491, allocations: 0 / 0.755 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.8491, allocations: 0 / 0.755 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.515e-05/0.8492, allocations: 151.5 kB / 0.7552 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.8492, allocations: 0 / 0.7552 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.469e-05/0.8493, allocations: 0 / 0.7552 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.8493, allocations: 3.953 kB / 0.7552 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.8493, allocations: 0 / 0.7552 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.8493, allocations: 10.78 kB / 0.7552 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.8493, allocations: 4.031 kB / 0.7552 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.8494, allocations: 52.3 kB / 0.7552 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.33e-05/0.8495, allocations: 80.11 kB / 0.7553 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.8495, allocations: 11.78 kB / 0.7553 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.675e-06/0.8495, allocations: 0 / 0.7553 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.788e-05/0.8495, allocations: 0 / 0.7553 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.8495, allocations: 0 / 0.7553 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.455e-05/0.8496, allocations: 79.31 kB / 0.7554 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1e-07/0.8496, allocations: 0 / 0.7554 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002397/0.8498, allocations: 19.62 kB / 0.7554 GB, free: 24.77 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005528/0.8504, allocations: 0.6048 MB / 0.756 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.499e-05/0.8505, allocations: 7.812 kB / 0.756 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.8505, allocations: 3.25 kB / 0.756 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 8.055e-06/0.8505, allocations: 3.906 kB / 0.756 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000102/0.8506, allocations: 8.828 kB / 0.756 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003174/0.8509, allocations: 81.55 kB / 0.7561 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.8513, allocations: 0.6756 MB / 0.7568 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.544e-05/0.8513, allocations: 7.812 kB / 0.7568 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.898e-05/0.8513, allocations: 7.562 kB / 0.7568 GB, free: 23.35 MB / 0.5105 GB Notification: Performance of SimCode: time 9.21e-07/0.8513, allocations: 4 kB / 0.7568 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01398/0.8653, allocations: 0.9537 MB / 0.7577 GB, free: 23.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001707/0.8655, allocations: 144.4 kB / 0.7579 GB, free: 22.98 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.483/2.348, allocations: 0 / 0.7579 GB, free: 22.98 MB / 0.5105 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/linux/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)