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.001921/0.001921, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002206/0.002206, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.561/1.561, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 1.421/1.421, allocations: 154.6 MB / 414.1 MB, free: 0.6406 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 178] 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 1.253e-06/1.253e-06, allocations: 0.5469 kB / 0.5196 GB, free: 1.418 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.448e-05/2.573e-05, allocations: 2.312 kB / 0.5196 GB, free: 1.414 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.002788/0.002813, allocations: 1.463 MB / 0.5211 GB, free: 15.96 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007743/0.003588, allocations: 366.6 kB / 0.5214 GB, free: 15.61 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.835e-05/0.003616, allocations: 0 / 0.5214 GB, free: 15.61 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.082e-05/0.003647, allocations: 0 / 0.5214 GB, free: 15.61 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.991e-05/0.003707, allocations: 11.92 kB / 0.5214 GB, free: 15.6 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004438/0.004151, allocations: 116.6 kB / 0.5215 GB, free: 15.48 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 7.066e-05/0.004221, allocations: 27.92 kB / 0.5216 GB, free: 15.46 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.593e-05/0.004297, allocations: 4.906 kB / 0.5216 GB, free: 15.45 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.724e-05/0.004354, allocations: 15.98 kB / 0.5216 GB, free: 15.44 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.699e-05/0.004391, allocations: 9.609 kB / 0.5216 GB, free: 15.43 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.004406, allocations: 4 kB / 0.5216 GB, free: 15.43 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004214/0.004827, allocations: 255.6 kB / 0.5218 GB, free: 15.18 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.748e-05/0.004845, allocations: 7.938 kB / 0.5218 GB, free: 15.17 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 1.968e-05/0.004864, allocations: 8.922 kB / 0.5218 GB, free: 15.16 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003728/0.005237, allocations: 131.7 kB / 0.522 GB, free: 15.03 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.00524, allocations: 0 / 0.522 GB, free: 15.03 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.005241, allocations: 1.406 kB / 0.522 GB, free: 15.03 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.005245, allocations: 3.938 kB / 0.522 GB, free: 15.03 MB / 458.7 MB 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.0005237/0.005769, allocations: 392 kB / 0.5224 GB, free: 14.61 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.005805, allocations: 9.188 kB / 0.5224 GB, free: 14.6 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.441e-05/0.00589, allocations: 4.938 kB / 0.5224 GB, free: 14.59 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.00602, allocations: 128.4 kB / 0.5225 GB, free: 14.44 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.006034, allocations: 5.047 kB / 0.5225 GB, free: 14.44 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.006044, allocations: 4.375 kB / 0.5225 GB, free: 14.43 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.006183, allocations: 39.53 kB / 0.5225 GB, free: 14.39 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.006192, allocations: 4.188 kB / 0.5225 GB, free: 14.39 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.006202, allocations: 4.375 kB / 0.5225 GB, free: 14.38 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.006206, allocations: 1.688 kB / 0.5225 GB, free: 14.38 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.00632, allocations: 23.92 kB / 0.5226 GB, free: 14.36 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003672/0.006687, allocations: 255.8 kB / 0.5228 GB, free: 14.07 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.006807, allocations: 39.75 kB / 0.5228 GB, free: 14.02 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.8e-05/0.006875, allocations: 25.58 kB / 0.5229 GB, free: 14 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005262/0.007401, allocations: 69.7 kB / 0.5229 GB, free: 13.93 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.248e-05/0.007443, allocations: 41.89 kB / 0.523 GB, free: 13.88 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.007444, allocations: 0 / 0.523 GB, free: 13.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003143/0.007759, allocations: 75.02 kB / 0.5231 GB, free: 13.8 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.007801, allocations: 51.41 kB / 0.5231 GB, free: 13.74 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.00794, allocations: 174.9 kB / 0.5233 GB, free: 13.55 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.007958, allocations: 25.7 kB / 0.5233 GB, free: 13.52 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.319e-05/0.008041, allocations: 128.2 kB / 0.5234 GB, free: 13.39 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.008059, allocations: 7.953 kB / 0.5234 GB, free: 13.38 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.284e-05/0.008102, allocations: 23.36 kB / 0.5234 GB, free: 13.35 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002491/0.008351, allocations: 0.4884 MB / 0.5239 GB, free: 12.85 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.266e-05/0.008414, allocations: 4.5 kB / 0.5239 GB, free: 12.85 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.209e-05/0.008466, allocations: 17.02 kB / 0.5239 GB, free: 12.83 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.008571, allocations: 32.89 kB / 0.524 GB, free: 12.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.008572, allocations: 0 / 0.524 GB, free: 12.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001669/0.008739, allocations: 63.36 kB / 0.524 GB, free: 12.73 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.008754, allocations: 10.75 kB / 0.524 GB, free: 12.72 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.00876, allocations: 3.938 kB / 0.524 GB, free: 12.72 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.008777, allocations: 3.984 kB / 0.5241 GB, free: 12.71 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.706e-05/0.008844, allocations: 9.812 kB / 0.5241 GB, free: 12.71 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.008847, allocations: 0 / 0.5241 GB, free: 12.71 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.902e-05/0.008876, allocations: 0 / 0.5241 GB, free: 12.71 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.008881, allocations: 0 / 0.5241 GB, free: 12.71 MB / 458.7 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 (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 0.0001085/0.00899, allocations: 162.5 kB / 0.5242 GB, free: 12.54 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.151e-05/0.009031, allocations: 7.984 kB / 0.5242 GB, free: 12.53 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001851/0.009216, allocations: 65.2 kB / 0.5243 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.009218, allocations: 3.938 kB / 0.5243 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.009221, allocations: 2.438 kB / 0.5243 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.009225, allocations: 7.984 kB / 0.5243 GB, free: 12.45 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.009393, allocations: 112.6 kB / 0.5244 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.009394, allocations: 0 / 0.5244 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.486e-05/0.009439, allocations: 7.984 kB / 0.5244 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.009443, allocations: 4 kB / 0.5244 GB, free: 12.29 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.009449, allocations: 0 / 0.5244 GB, free: 12.29 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.009453, allocations: 6.219 kB / 0.5244 GB, free: 12.29 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.009454, allocations: 0 / 0.5244 GB, free: 12.29 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.009708, allocations: 200.1 kB / 0.5246 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.147e-05/0.009719, allocations: 7.984 kB / 0.5246 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.009736, allocations: 9.031 kB / 0.5246 GB, free: 12.06 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.143e-05/0.009797, allocations: 7.938 kB / 0.5246 GB, free: 12.05 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-05/0.009833, allocations: 0 / 0.5246 GB, free: 12.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.009836, allocations: 0.9375 kB / 0.5246 GB, free: 12.05 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.431e-05/0.009921, allocations: 135.1 kB / 0.5248 GB, free: 11.92 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009921, allocations: 0 / 0.5248 GB, free: 11.92 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002293/0.01015, allocations: 23.06 kB / 0.5248 GB, free: 11.9 MB / 458.7 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 (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.0002029/0.01035, allocations: 107.2 kB / 0.5249 GB, free: 11.79 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001738/0.01053, allocations: 35.67 kB / 0.5249 GB, free: 11.75 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01053, allocations: 0 / 0.5249 GB, free: 11.75 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.716e-05/0.0106, allocations: 22.47 kB / 0.5249 GB, free: 11.72 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.01083, allocations: 7.984 kB / 0.525 GB, free: 11.71 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/0.01113, allocations: 118.3 kB / 0.5251 GB, free: 11.57 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.603e-05/0.01121, allocations: 67.16 kB / 0.5251 GB, free: 11.48 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.754e-05/0.01124, allocations: 7.969 kB / 0.5251 GB, free: 11.48 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.415e-05/0.01126, allocations: 10.06 kB / 0.5251 GB, free: 11.47 MB / 458.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01126, allocations: 0 / 0.5251 GB, free: 11.47 MB / 458.7 MB Notification: Performance of Templates: time 0.00368/0.01494, allocations: 0.7518 MB / 0.5259 GB, free: 10.74 MB / 458.7 MB " [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: 5.954037014045753]