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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.006573/0.006572, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9369/0.9369, allocations: 135.2 MB / 151 MB, free: 13.83 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.498/1.498, allocations: 223.2 MB / 406.8 MB, free: 3.25 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.001023/0.001023, allocations: 102.9 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003716/0.0003718, allocations: 16 kB / 0.5692 GB, free: 14.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.433/0.4334, allocations: 82.31 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1454/0.5789, allocations: 111.2 MB / 0.7581 GB, free: 4.793 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/0.5792, allocations: 83.92 kB / 0.7582 GB, free: 4.711 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01164/0.5909, allocations: 4.027 MB / 0.7622 GB, free: 0.6797 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5909, allocations: 4 kB / 0.7622 GB, free: 0.6758 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.591, allocations: 0 / 0.7622 GB, free: 0.6758 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.000353/0.5913, allocations: 343.3 kB / 0.7625 GB, free: 300 kB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.5914, allocations: 12.03 kB / 0.7625 GB, free: 288 kB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.985e-05/0.5914, allocations: 34.55 kB / 0.7625 GB, free: 244 kB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.708e-05/0.5915, allocations: 0 / 0.7625 GB, free: 244 kB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.5916, allocations: 163 kB / 0.7627 GB, free: 40 kB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.5916, allocations: 0 / 0.7627 GB, free: 40 kB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.063e-06/0.5916, allocations: 0 / 0.7627 GB, free: 40 kB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.5917, allocations: 37.64 kB / 0.7627 GB, free: 16 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.5918, allocations: 0 / 0.7627 GB, free: 16 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.5918, allocations: 0 / 0.7627 GB, free: 16 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.5918, allocations: 0 / 0.7627 GB, free: 16 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.159e-05/0.5918, allocations: 4 kB / 0.7627 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001522/0.592, allocations: 157.6 kB / 0.7629 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 3.536e-05/0.592, allocations: 14.58 kB / 0.7629 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004648/0.5925, allocations: 429.6 kB / 0.7633 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.5925, allocations: 30.56 kB / 0.7633 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 2.614e-06/0.5925, allocations: 0 / 0.7633 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 0.000147/0.5927, allocations: 37.64 kB / 0.7634 GB, free: 15.17 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.5927, allocations: 51.41 kB / 0.7634 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.179e-05/0.5928, allocations: 89.12 kB / 0.7635 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.5928, allocations: 25.7 kB / 0.7635 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.7e-05/0.5928, allocations: 80.14 kB / 0.7636 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.5929, allocations: 11.89 kB / 0.7636 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.833e-06/0.5929, allocations: 0 / 0.7636 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.593, allocations: 310.8 kB / 0.7639 GB, free: 14.58 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.486e-06/0.593, allocations: 4 kB / 0.7639 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.308e-06/0.593, allocations: 0 / 0.7639 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.494e-05/0.593, allocations: 64 / 0.7639 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.593, allocations: 4 kB / 0.7639 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.005e-05/0.5931, allocations: 41.59 kB / 0.764 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.5931, allocations: 4 kB / 0.764 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.5931, allocations: 3.938 kB / 0.764 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.5932, allocations: 0 / 0.764 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.786e-05/0.5932, allocations: 7.984 kB / 0.764 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.5932, allocations: 3.984 kB / 0.764 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.047e-06/0.5932, allocations: 0 / 0.764 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.5932, allocations: 0 / 0.764 GB, free: 14.5 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.63e-05/0.5933, allocations: 117.9 kB / 0.7641 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.023e-05/0.5934, allocations: 7.938 kB / 0.7641 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.278e-05/0.5934, allocations: 36.77 kB / 0.7641 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.5935, allocations: 7.984 kB / 0.7641 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.5935, allocations: 0 / 0.7641 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.5935, allocations: 0 / 0.7641 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.359e-05/0.5936, allocations: 149.7 kB / 0.7643 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.5936, allocations: 0 / 0.7643 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.061e-05/0.5936, allocations: 4.031 kB / 0.7643 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.5936, allocations: 3.953 kB / 0.7643 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.5936, allocations: 0 / 0.7643 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.5936, allocations: 4 kB / 0.7643 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5936, allocations: 0 / 0.7643 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.268e-05/0.5937, allocations: 57.12 kB / 0.7643 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.5937, allocations: 77.11 kB / 0.7644 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.5938, allocations: 7.953 kB / 0.7644 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.602e-06/0.5938, allocations: 4.031 kB / 0.7644 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.427e-05/0.5938, allocations: 7.875 kB / 0.7644 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-06/0.5938, allocations: 0 / 0.7644 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.114e-05/0.5938, allocations: 79.27 kB / 0.7645 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5938, allocations: 0 / 0.7645 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001877/0.594, allocations: 23.94 kB / 0.7645 GB, free: 13.82 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.0003954/0.5944, allocations: 0.6047 MB / 0.7651 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.198e-05/0.5945, allocations: 4 kB / 0.7651 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.5945, allocations: 0 / 0.7651 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 7.034e-06/0.5945, allocations: 3.938 kB / 0.7651 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.804e-05/0.5946, allocations: 6.188 kB / 0.7651 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002758/0.5949, allocations: 116.3 kB / 0.7652 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.5952, allocations: 0.6772 MB / 0.7659 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.617e-05/0.5952, allocations: 0 / 0.7659 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.385e-05/0.5952, allocations: 7.438 kB / 0.7659 GB, free: 12.31 MB / 0.5417 GB Notification: Performance of SimCode: time 6.31e-07/0.5952, allocations: 4 kB / 0.7659 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01124/0.6065, allocations: 0.9489 MB / 0.7668 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001701/0.6067, allocations: 181.8 kB / 0.767 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.513/2.12, allocations: 2.109 kB / 0.767 GB, free: 11.24 MB / 0.5417 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/linux/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)