Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.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.001004/0.001004, allocations: 73.88 kB / 20.66 MB, free: 3.84 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.001063/0.001063, allocations: 169 kB / 24.05 MB, free: 456 kB / 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.046/1.046, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8491/0.8491, allocations: 154.9 MB / 415.9 MB, free: 276 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime") translateModel(IDEAS.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.5218 GB, free: 1.582 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.033e-05/1.166e-05, allocations: 2.312 kB / 0.5218 GB, free: 1.578 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.0009946/0.001006, allocations: 0.6015 MB / 0.5224 GB, free: 1 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 3.502e-05/0.001041, allocations: 0 / 0.5224 GB, free: 1 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.382e-05/0.001055, allocations: 1.453 kB / 0.5224 GB, free: 1 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.051e-05/0.001076, allocations: 0 / 0.5224 GB, free: 1 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.919e-06/0.00108, allocations: 0.7812 kB / 0.5224 GB, free: 1 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.699e-05/0.001107, allocations: 0 / 0.5224 GB, free: 1 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.161e-05/0.001149, allocations: 8.938 kB / 0.5224 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.27e-05/0.001182, allocations: 7.922 kB / 0.5224 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.396e-05/0.001206, allocations: 3.453 kB / 0.5225 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.699e-05/0.001223, allocations: 0 / 0.5225 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.001234, allocations: 3.984 kB / 0.5225 GB, free: 0.9805 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.655e-06/0.001237, allocations: 0 / 0.5225 GB, free: 0.9805 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.113e-05/0.001248, allocations: 0.875 kB / 0.5225 GB, free: 0.9805 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.343e-05/0.001261, allocations: 4 kB / 0.5225 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 4.085e-05/0.001302, allocations: 0 / 0.5225 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.001304, allocations: 0 / 0.5225 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.91e-07/0.001304, allocations: 1.344 kB / 0.5225 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.956e-06/0.001307, allocations: 3.938 kB / 0.5225 GB, free: 0.9727 MB / 490.7 MB 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.0001715/0.001479, allocations: 332.4 kB / 0.5228 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.857e-05/0.001508, allocations: 8.594 kB / 0.5228 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.972e-05/0.001527, allocations: 0.9375 kB / 0.5228 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.756e-05/0.001585, allocations: 117.6 kB / 0.5229 GB, free: 472 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.924e-06/0.001593, allocations: 384 / 0.5229 GB, free: 472 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.739e-06/0.001597, allocations: 384 / 0.5229 GB, free: 472 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.735e-05/0.001645, allocations: 27.48 kB / 0.5229 GB, free: 440 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.769e-06/0.00165, allocations: 192 / 0.5229 GB, free: 440 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.26e-06/0.001655, allocations: 4.375 kB / 0.5229 GB, free: 436 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.001658, allocations: 0.9375 kB / 0.5229 GB, free: 436 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.897e-06/0.001667, allocations: 8.844 kB / 0.5229 GB, free: 428 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.255e-05/0.00173, allocations: 89.27 kB / 0.523 GB, free: 312 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.598e-05/0.001756, allocations: 28.88 kB / 0.5231 GB, free: 272 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.448e-05/0.00177, allocations: 7.688 kB / 0.5231 GB, free: 260 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.701e-06/0.001776, allocations: 4.062 kB / 0.5231 GB, free: 256 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.612e-05/0.001792, allocations: 37.38 kB / 0.5231 GB, free: 208 kB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 5.21e-07/0.001793, allocations: 1.125 kB / 0.5231 GB, free: 208 kB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 7.187e-05/0.001864, allocations: 37.64 kB / 0.5231 GB, free: 164 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.296e-05/0.001887, allocations: 52.12 kB / 0.5232 GB, free: 100 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.713e-05/0.001935, allocations: 142.2 kB / 0.5233 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.823e-06/0.001941, allocations: 26.89 kB / 0.5234 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.643e-05/0.001968, allocations: 130.9 kB / 0.5235 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.001989, allocations: 0 / 0.5235 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.944e-05/0.002008, allocations: 19.36 kB / 0.5235 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.002167, allocations: 497.5 kB / 0.524 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.21e-06/0.002172, allocations: 4 kB / 0.524 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.949e-06/0.002177, allocations: 3.984 kB / 0.524 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.057e-05/0.002198, allocations: 12.47 kB / 0.524 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.002199, allocations: 4.844 kB / 0.524 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.286e-05/0.002232, allocations: 33.64 kB / 0.524 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.297e-06/0.002241, allocations: 6.781 kB / 0.524 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.002245, allocations: 0 / 0.524 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.482e-06/0.002251, allocations: 0 / 0.524 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.746e-05/0.002289, allocations: 8 kB / 0.524 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-06/0.002291, allocations: 0 / 0.524 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.392e-06/0.002297, allocations: 3.938 kB / 0.524 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.356e-06/0.0023, allocations: 0 / 0.524 GB, free: 15.18 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 (1): * Single equations (assignments): 1 * 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.251e-05/0.002353, allocations: 157 kB / 0.5242 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-06/0.002357, allocations: 5.219 kB / 0.5242 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.155e-05/0.002368, allocations: 6.984 kB / 0.5242 GB, free: 15 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.002369, allocations: 0 / 0.5242 GB, free: 15 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.00237, allocations: 0 / 0.5242 GB, free: 15 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-06/0.002373, allocations: 0.5 kB / 0.5242 GB, free: 15 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.353e-05/0.002416, allocations: 98.56 kB / 0.5243 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.002418, allocations: 4 kB / 0.5243 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.117e-06/0.002422, allocations: 0 / 0.5243 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.21e-07/0.002422, allocations: 1.094 kB / 0.5243 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-06/0.002425, allocations: 0 / 0.5243 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.1e-07/0.002425, allocations: 3.938 kB / 0.5243 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.002426, allocations: 0.625 kB / 0.5243 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.315e-05/0.002469, allocations: 73.03 kB / 0.5244 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.807e-06/0.002473, allocations: 7.391 kB / 0.5244 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.079e-06/0.002478, allocations: 0 / 0.5244 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.088e-06/0.002482, allocations: 8 kB / 0.5244 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.076e-06/0.00249, allocations: 0 / 0.5244 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-07/0.00249, allocations: 0 / 0.5244 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.399e-05/0.002514, allocations: 119.2 kB / 0.5245 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.002514, allocations: 0 / 0.5245 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001063/0.002621, allocations: 0 / 0.5245 GB, free: 14.65 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 (1): * Single equations (assignments): 1 * 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 5.201e-05/0.002673, allocations: 97.8 kB / 0.5246 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 4.16e-05/0.002714, allocations: 15.62 kB / 0.5246 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.22e-07/0.002715, allocations: 0 / 0.5246 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.951e-06/0.002721, allocations: 11.69 kB / 0.5246 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.873e-05/0.0028, allocations: 3.938 kB / 0.5246 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001198/0.00292, allocations: 84.69 kB / 0.5247 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.291e-05/0.002943, allocations: 51.36 kB / 0.5248 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.447e-06/0.002952, allocations: 5.266 kB / 0.5248 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.484e-05/0.002977, allocations: 66.2 kB / 0.5248 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of SimCode: time 5.81e-07/0.002978, allocations: 0 / 0.5248 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of Templates: time 0.0012/0.004178, allocations: 213.5 kB / 0.525 GB, free: 14.05 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.sim & ./IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.735277862288058]