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.00678/0.00678, allocations: 171 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7292/0.7292, allocations: 135.2 MB / 151 MB, free: 13.82 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.405/1.405, allocations: 223.2 MB / 406.8 MB, free: 3.203 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008968/0.0008968, allocations: 99.72 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00034/0.0003399, allocations: 12 kB / 0.5692 GB, free: 14.03 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3726, allocations: 82.31 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.147/0.5197, allocations: 111.2 MB / 0.7581 GB, free: 4.758 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/0.5199, allocations: 79.89 kB / 0.7582 GB, free: 4.68 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.0117/0.5317, allocations: 4.039 MB / 0.7622 GB, free: 0.6367 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5317, allocations: 0 / 0.7622 GB, free: 0.6367 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.5317, allocations: 0 / 0.7622 GB, free: 0.6367 MB / 0.5261 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.0003371/0.532, allocations: 347.2 kB / 0.7625 GB, free: 256 kB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.5321, allocations: 12.03 kB / 0.7625 GB, free: 244 kB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.763e-05/0.5321, allocations: 30.56 kB / 0.7625 GB, free: 204 kB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.471e-05/0.5322, allocations: 4 kB / 0.7625 GB, free: 200 kB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.5323, allocations: 167 kB / 0.7627 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.5324, allocations: 0 / 0.7627 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.5324, allocations: 4 kB / 0.7627 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.082e-05/0.5325, allocations: 25.7 kB / 0.7627 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.5325, allocations: 7.922 kB / 0.7627 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.5325, allocations: 0 / 0.7627 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.5325, allocations: 0 / 0.7627 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.986e-05/0.5325, allocations: 8 kB / 0.7627 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001542/0.5327, allocations: 149.6 kB / 0.7629 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 3.981e-05/0.5327, allocations: 22.56 kB / 0.7629 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000484/0.5332, allocations: 421.6 kB / 0.7633 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.5333, allocations: 38.56 kB / 0.7633 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.5333, allocations: 4 kB / 0.7633 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 0.0001585/0.5334, allocations: 33.64 kB / 0.7634 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.5335, allocations: 51.41 kB / 0.7634 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.277e-05/0.5335, allocations: 85 kB / 0.7635 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.5335, allocations: 25.7 kB / 0.7635 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.536e-05/0.5336, allocations: 80.14 kB / 0.7636 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.5336, allocations: 4.031 kB / 0.7636 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.014e-06/0.5336, allocations: 4 kB / 0.7636 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.5338, allocations: 318.8 kB / 0.7639 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.456e-06/0.5338, allocations: 0 / 0.7639 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.031e-06/0.5338, allocations: 3.984 kB / 0.7639 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.826e-05/0.5338, allocations: 4 kB / 0.7639 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.5338, allocations: 0 / 0.7639 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.085e-05/0.5339, allocations: 37.59 kB / 0.764 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.5339, allocations: 4 kB / 0.764 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.5339, allocations: 4.094 kB / 0.764 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.5339, allocations: 7.938 kB / 0.764 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.91e-05/0.534, allocations: 0 / 0.764 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.534, allocations: 0 / 0.764 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.938e-06/0.534, allocations: 0 / 0.764 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.534, allocations: 0 / 0.764 GB, free: 14.46 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.898e-05/0.5341, allocations: 113.8 kB / 0.7641 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.802e-05/0.5341, allocations: 3.953 kB / 0.7641 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.459e-05/0.5342, allocations: 44.77 kB / 0.7641 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.5342, allocations: 0 / 0.7641 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.5342, allocations: 0 / 0.7641 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.5342, allocations: 3.938 kB / 0.7641 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.615e-05/0.5343, allocations: 149.7 kB / 0.7643 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.5343, allocations: 0 / 0.7643 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.042e-05/0.5344, allocations: 0 / 0.7643 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.5344, allocations: 3.953 kB / 0.7643 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.5344, allocations: 4 kB / 0.7643 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.5344, allocations: 0 / 0.7643 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.5344, allocations: 0 / 0.7643 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.243e-05/0.5345, allocations: 61.16 kB / 0.7643 GB, free: 14 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.31e-05/0.5345, allocations: 81.11 kB / 0.7644 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.5345, allocations: 3.953 kB / 0.7644 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.254e-06/0.5346, allocations: 0 / 0.7644 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.389e-05/0.5346, allocations: 0 / 0.7644 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/0.5346, allocations: 0 / 0.7644 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.598e-05/0.5346, allocations: 79.25 kB / 0.7645 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5346, allocations: 4 kB / 0.7645 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001939/0.5348, allocations: 19.94 kB / 0.7645 GB, free: 13.8 MB / 0.5417 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 (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.0004308/0.5352, allocations: 0.6047 MB / 0.7651 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 5.781e-05/0.5353, allocations: 8.031 kB / 0.7651 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.5353, allocations: 4.062 kB / 0.7651 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 7.003e-06/0.5353, allocations: 3.938 kB / 0.7651 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.721e-05/0.5354, allocations: 12.98 kB / 0.7651 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002758/0.5357, allocations: 116.3 kB / 0.7653 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.5359, allocations: 0.6692 MB / 0.7659 GB, free: 12.28 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.778e-05/0.536, allocations: 4 kB / 0.7659 GB, free: 12.28 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.237e-05/0.536, allocations: 11.44 kB / 0.7659 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of SimCode: time 3.11e-07/0.536, allocations: 4.062 kB / 0.7659 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01091/0.5469, allocations: 0.9375 MB / 0.7668 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000293/0.5473, allocations: 168.1 kB / 0.767 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.459/2.006, allocations: 0 / 0.767 GB, free: 11.2 MB / 0.5417 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)