Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 81.95 kB / 19.87 MB, free: 4.617 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 169.7 kB / 23.27 MB, free: 1.227 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.091/1.091, allocations: 177.1 MB / 203.7 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8519/0.8519, allocations: 154.6 MB / 414.8 MB, free: 0.5195 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower") translateModel(IDEAS.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.5208 GB, free: 1.895 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.629e-05/2.83e-05, allocations: 6.219 kB / 0.5208 GB, free: 1.891 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.003085/0.003113, allocations: 1.485 MB / 0.5222 GB, free: 424 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007486/0.003862, allocations: 368.2 kB / 0.5226 GB, free: 56 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.086e-05/0.003912, allocations: 4 kB / 0.5226 GB, free: 52 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.047e-05/0.003943, allocations: 0 / 0.5226 GB, free: 52 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.716e-05/0.004, allocations: 8.375 kB / 0.5226 GB, free: 44 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006137/0.004614, allocations: 113.6 kB / 0.5227 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 7.329e-05/0.004687, allocations: 23.92 kB / 0.5227 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.098e-05/0.004778, allocations: 9.453 kB / 0.5227 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.94e-05/0.004837, allocations: 19.92 kB / 0.5227 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 2.973e-05/0.004867, allocations: 7.984 kB / 0.5228 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.00488, allocations: 0 / 0.5228 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000261/0.005141, allocations: 260.5 kB / 0.523 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.366e-05/0.005154, allocations: 4 kB / 0.523 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.527e-05/0.00517, allocations: 7.984 kB / 0.523 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.005351, allocations: 132.8 kB / 0.5231 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.005355, allocations: 0 / 0.5231 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.713e-06/0.005357, allocations: 0 / 0.5231 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.005362, allocations: 1.375 kB / 0.5231 GB, free: 15.48 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003439/0.005706, allocations: 384.3 kB / 0.5235 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.005749, allocations: 16.02 kB / 0.5235 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.346e-05/0.005812, allocations: 5.75 kB / 0.5235 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.213e-05/0.005885, allocations: 112.5 kB / 0.5236 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.005895, allocations: 4.375 kB / 0.5236 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.773e-06/0.005902, allocations: 5.641 kB / 0.5236 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.71e-05/0.005999, allocations: 50.95 kB / 0.5237 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.006006, allocations: 192 / 0.5237 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-06/0.006013, allocations: 5.719 kB / 0.5237 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.006018, allocations: 384 / 0.5237 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.121e-05/0.006039, allocations: 15.92 kB / 0.5237 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002191/0.006258, allocations: 229.2 kB / 0.5239 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.063e-05/0.006299, allocations: 31.05 kB / 0.524 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.272e-05/0.006312, allocations: 9.438 kB / 0.524 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003032/0.006615, allocations: 86.06 kB / 0.5241 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.006643, allocations: 37.39 kB / 0.5241 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.462e-06/0.006644, allocations: 1.469 kB / 0.5241 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.000163/0.006807, allocations: 41.58 kB / 0.5241 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.006835, allocations: 51.41 kB / 0.5242 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.254e-05/0.006908, allocations: 166.9 kB / 0.5243 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.006918, allocations: 25.7 kB / 0.5244 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.087e-05/0.006958, allocations: 134.8 kB / 0.5245 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.006976, allocations: 12.83 kB / 0.5245 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/0.007005, allocations: 19.36 kB / 0.5245 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.007115, allocations: 497.1 kB / 0.525 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.366e-06/0.007123, allocations: 0 / 0.525 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.494e-06/0.007131, allocations: 0 / 0.525 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.436e-05/0.007155, allocations: 20.91 kB / 0.525 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.007157, allocations: 0 / 0.525 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.667e-05/0.007213, allocations: 42.84 kB / 0.5251 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.007225, allocations: 4 kB / 0.5251 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.007229, allocations: 0 / 0.5251 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.007241, allocations: 4.5 kB / 0.5251 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.181e-05/0.007293, allocations: 8.562 kB / 0.5251 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.007296, allocations: 0 / 0.5251 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.403e-05/0.00731, allocations: 1.438 kB / 0.5251 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.007315, allocations: 7.984 kB / 0.5251 GB, free: 13.3 MB / 0.4948 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 (2): * Single equations (assignments): 2 * 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 5.877e-05/0.007373, allocations: 156.6 kB / 0.5252 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.007393, allocations: 10.39 kB / 0.5252 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.975e-05/0.007463, allocations: 52.84 kB / 0.5253 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.007466, allocations: 3.938 kB / 0.5253 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.007467, allocations: 0 / 0.5253 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.00747, allocations: 0 / 0.5253 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.408e-05/0.007554, allocations: 97.27 kB / 0.5254 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.007555, allocations: 2.812 kB / 0.5254 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.799e-05/0.007573, allocations: 8.234 kB / 0.5254 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.007574, allocations: 0 / 0.5254 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-06/0.007579, allocations: 8 kB / 0.5254 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.81e-07/0.007579, allocations: 3.938 kB / 0.5254 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.00758, allocations: 0 / 0.5254 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.692e-05/0.007667, allocations: 187.9 kB / 0.5256 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.729e-06/0.007672, allocations: 0.75 kB / 0.5256 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.053e-06/0.007679, allocations: 0 / 0.5256 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.757e-05/0.007706, allocations: 5.219 kB / 0.5256 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.722e-05/0.007733, allocations: 7.984 kB / 0.5256 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.007736, allocations: 3.938 kB / 0.5256 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.262e-05/0.007769, allocations: 133.9 kB / 0.5257 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007769, allocations: 0 / 0.5257 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001458/0.007915, allocations: 15.94 kB / 0.5257 GB, free: 12.57 MB / 0.4948 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 (2): * Single equations (assignments): 2 * 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.0001355/0.008051, allocations: 107.2 kB / 0.5259 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.826e-05/0.008109, allocations: 15.69 kB / 0.5259 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.00811, allocations: 2.75 kB / 0.5259 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.361e-05/0.008124, allocations: 11.69 kB / 0.5259 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001719/0.008296, allocations: 7.984 kB / 0.5259 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000196/0.008492, allocations: 118.2 kB / 0.526 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.979e-05/0.008521, allocations: 59.3 kB / 0.5261 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.418e-05/0.008536, allocations: 0.9062 kB / 0.5261 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.9e-05/0.008575, allocations: 75.52 kB / 0.5261 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of SimCode: time 4.1e-07/0.008575, allocations: 0 / 0.5261 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of Templates: time 0.00232/0.01089, allocations: 0.8445 MB / 0.527 GB, free: 11.32 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7927625123411417]