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.0007469/0.0007469, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.0007697/0.0007697, allocations: 207.8 kB / 23 MB, free: 3.121 MB / 13.93 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 0.8768/0.8768, allocations: 230.6 MB / 256.8 MB, free: 3.488 MB / 202.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-531:190: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-531:198: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.7188/0.7188, allocations: 203.8 MB / 0.5049 GB, free: 0.707 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009284/0.0009284, allocations: 63.89 kB / 0.7194 GB, free: 14.42 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4146/0.4155, allocations: 102 MB / 0.819 GB, free: 25.23 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001252/0.4168, allocations: 0.5995 MB / 0.8196 GB, free: 24.88 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 4.019e-05/0.4168, allocations: 6.484 kB / 0.8196 GB, free: 24.87 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.805e-05/0.4168, allocations: 0 / 0.8196 GB, free: 24.87 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.496e-05/0.4169, allocations: 0.9062 kB / 0.8196 GB, free: 24.87 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.161e-06/0.4169, allocations: 0 / 0.8196 GB, free: 24.87 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 3.689e-05/0.4169, allocations: 1.812 kB / 0.8196 GB, free: 24.87 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 4.939e-05/0.417, allocations: 1.859 kB / 0.8196 GB, free: 24.87 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.349e-05/0.417, allocations: 2.641 kB / 0.8196 GB, free: 24.87 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 1.606e-05/0.417, allocations: 0 / 0.8196 GB, free: 24.87 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 1.948e-05/0.417, allocations: 1.609 kB / 0.8196 GB, free: 24.87 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.4171, allocations: 1.344 kB / 0.8197 GB, free: 24.87 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.591e-06/0.4171, allocations: 0.9062 kB / 0.8197 GB, free: 24.87 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.256e-05/0.4171, allocations: 0 / 0.8197 GB, free: 24.87 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.211e-05/0.4171, allocations: 4.641 kB / 0.8197 GB, free: 24.87 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 5.3e-05/0.4171, allocations: 6.109 kB / 0.8197 GB, free: 24.86 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.4171, allocations: 5 kB / 0.8197 GB, free: 24.86 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4172, allocations: 3.938 kB / 0.8197 GB, free: 24.86 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.4172, allocations: 1.125 kB / 0.8197 GB, free: 24.86 MB / 0.6355 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.0001771/0.4173, allocations: 244.4 kB / 0.8199 GB, free: 24.59 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.4174, allocations: 10.19 kB / 0.8199 GB, free: 24.59 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.478e-05/0.4174, allocations: 3.891 kB / 0.8199 GB, free: 24.59 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.45e-05/0.4174, allocations: 104.2 kB / 0.82 GB, free: 24.47 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.4175, allocations: 0.9375 kB / 0.82 GB, free: 24.47 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.4175, allocations: 2.719 kB / 0.82 GB, free: 24.47 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.442e-05/0.4175, allocations: 28.31 kB / 0.82 GB, free: 24.44 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.4175, allocations: 0.8438 kB / 0.82 GB, free: 24.44 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.4176, allocations: 6 kB / 0.8201 GB, free: 24.43 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.4176, allocations: 0.6562 kB / 0.8201 GB, free: 24.43 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.52e-05/0.4176, allocations: 1.719 kB / 0.8201 GB, free: 24.43 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.265e-05/0.4176, allocations: 119.8 kB / 0.8202 GB, free: 24.28 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.123e-05/0.4177, allocations: 21.97 kB / 0.8202 GB, free: 24.25 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.955e-05/0.4177, allocations: 7.422 kB / 0.8202 GB, free: 24.24 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-06/0.4177, allocations: 1.375 kB / 0.8202 GB, free: 24.24 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.392e-05/0.4177, allocations: 41 kB / 0.8202 GB, free: 24.2 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.4177, allocations: 0 / 0.8202 GB, free: 24.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 9.978e-05/0.4178, allocations: 38.59 kB / 0.8203 GB, free: 24.16 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.831e-05/0.4178, allocations: 52.28 kB / 0.8203 GB, free: 24.1 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.045e-05/0.4178, allocations: 89.86 kB / 0.8204 GB, free: 24 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.047e-06/0.4179, allocations: 27.23 kB / 0.8204 GB, free: 23.97 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.442e-06/0.4179, allocations: 80.14 kB / 0.8205 GB, free: 23.89 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.4179, allocations: 4.062 kB / 0.8205 GB, free: 23.89 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.788e-05/0.4179, allocations: 16.34 kB / 0.8205 GB, free: 23.87 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.456e-05/0.4179, allocations: 312.7 kB / 0.8208 GB, free: 23.55 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.855e-06/0.4179, allocations: 0.5312 kB / 0.8208 GB, free: 23.55 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.751e-06/0.4179, allocations: 1.438 kB / 0.8208 GB, free: 23.55 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.27e-05/0.418, allocations: 7.719 kB / 0.8208 GB, free: 23.55 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.418, allocations: 4.625 kB / 0.8208 GB, free: 23.55 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 2.929e-05/0.418, allocations: 38.8 kB / 0.8209 GB, free: 23.51 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.418, allocations: 11.02 kB / 0.8209 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.418, allocations: 0 / 0.8209 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.418, allocations: 3.938 kB / 0.8209 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.263e-05/0.4181, allocations: 2.766 kB / 0.8209 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.4181, allocations: 0 / 0.8209 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.103e-06/0.4181, allocations: 0.5 kB / 0.8209 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.4181, allocations: 1.188 kB / 0.8209 GB, free: 23.5 MB / 0.6355 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 3.199e-05/0.4181, allocations: 112.6 kB / 0.821 GB, free: 23.38 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-06/0.4181, allocations: 1.125 kB / 0.821 GB, free: 23.38 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.362e-05/0.4181, allocations: 15.53 kB / 0.821 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.4181, allocations: 0.9062 kB / 0.821 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.4181, allocations: 0.6562 kB / 0.821 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.4181, allocations: 0.75 kB / 0.821 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 2.947e-05/0.4182, allocations: 115.7 kB / 0.8211 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4182, allocations: 0.625 kB / 0.8211 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.132e-06/0.4182, allocations: 5.719 kB / 0.8211 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.81e-07/0.4182, allocations: 0.6875 kB / 0.8211 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.221e-06/0.4182, allocations: 9.141 kB / 0.8212 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.4182, allocations: 0.5312 kB / 0.8212 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.4182, allocations: 0 / 0.8212 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.162e-05/0.4182, allocations: 69.67 kB / 0.8212 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.477e-06/0.4182, allocations: 0.5156 kB / 0.8212 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.073e-06/0.4182, allocations: 5.688 kB / 0.8212 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.336e-06/0.4182, allocations: 1.094 kB / 0.8212 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.13e-05/0.4183, allocations: 4.641 kB / 0.8212 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.4183, allocations: 1.859 kB / 0.8212 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.354e-06/0.4183, allocations: 75.28 kB / 0.8213 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4183, allocations: 0 / 0.8213 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001055/0.4184, allocations: 4.875 kB / 0.8213 GB, free: 23.04 MB / 0.6355 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.645e-05/0.4184, allocations: 92.42 kB / 0.8214 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.22e-05/0.4185, allocations: 3.438 kB / 0.8214 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4185, allocations: 4.062 kB / 0.8214 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.627e-06/0.4185, allocations: 6.219 kB / 0.8214 GB, free: 22.94 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.376e-05/0.4186, allocations: 3.859 kB / 0.8214 GB, free: 22.94 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001559/0.4188, allocations: 106 kB / 0.8215 GB, free: 22.81 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.039e-05/0.4188, allocations: 0.6714 MB / 0.8222 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.627e-05/0.4188, allocations: 12 kB / 0.8222 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of SimCode: time 5.51e-07/0.4188, allocations: 0 / 0.8222 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of Templates: time 0.001198/0.42, allocations: 327 kB / 0.8225 GB, free: 22.09 MB / 0.6355 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.338381498120725] Failed to read output from testmodel.py, exit status != 0: 0.42555037210695446 0.433300071 0.014609175 Calling exit ...