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.001385/0.001385, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002018/0.002018, allocations: 214.5 kB / 22.25 MB, free: 5.262 MB / 14.72 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.488/1.488, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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 1.267/1.267, allocations: 203.8 MB / 0.5041 GB, free: 4.586 MB / 414.1 MB " [Timeout remaining time 178] 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.002457/0.002457, allocations: 63.91 kB / 0.7186 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6139/0.6164, allocations: 102 MB / 0.8182 GB, free: 28.9 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001888/0.6183, allocations: 0.5984 MB / 0.8188 GB, free: 28.56 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 3.516e-05/0.6183, allocations: 1.297 kB / 0.8188 GB, free: 28.56 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.84e-05/0.6183, allocations: 3.938 kB / 0.8188 GB, free: 28.55 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 2.913e-05/0.6183, allocations: 1.312 kB / 0.8188 GB, free: 28.55 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 6.322e-06/0.6183, allocations: 0 / 0.8188 GB, free: 28.55 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 3.68e-05/0.6184, allocations: 0.8438 kB / 0.8188 GB, free: 28.55 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 6.101e-05/0.6184, allocations: 6.5 kB / 0.8188 GB, free: 28.55 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 5.469e-05/0.6185, allocations: 1.5 kB / 0.8188 GB, free: 28.55 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 1.263e-05/0.6185, allocations: 3.031 kB / 0.8188 GB, free: 28.55 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 1.854e-05/0.6185, allocations: 0 / 0.8188 GB, free: 28.55 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 9.317e-06/0.6185, allocations: 0.625 kB / 0.8188 GB, free: 28.55 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 4.619e-06/0.6185, allocations: 4.438 kB / 0.8188 GB, free: 28.55 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.294e-05/0.6186, allocations: 1.281 kB / 0.8188 GB, free: 28.55 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 1.995e-05/0.6186, allocations: 0.875 kB / 0.8188 GB, free: 28.55 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 5.49e-05/0.6186, allocations: 1.344 kB / 0.8188 GB, free: 28.55 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.6186, allocations: 0.5 kB / 0.8188 GB, free: 28.55 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.924e-06/0.6186, allocations: 5.062 kB / 0.8188 GB, free: 28.55 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.6186, allocations: 3.719 kB / 0.8188 GB, free: 28.55 MB / 0.6387 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.0002357/0.6189, allocations: 232.4 kB / 0.8191 GB, free: 28.29 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.6189, allocations: 10.59 kB / 0.8191 GB, free: 28.29 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.788e-05/0.6189, allocations: 5.641 kB / 0.8191 GB, free: 28.29 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.091e-05/0.619, allocations: 105.2 kB / 0.8192 GB, free: 28.16 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.619, allocations: 3.562 kB / 0.8192 GB, free: 28.16 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.619, allocations: 384 / 0.8192 GB, free: 28.16 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.396e-05/0.6191, allocations: 29.41 kB / 0.8192 GB, free: 28.13 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.6191, allocations: 192 / 0.8192 GB, free: 28.13 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.6191, allocations: 8.609 kB / 0.8192 GB, free: 28.12 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.6191, allocations: 0 / 0.8192 GB, free: 28.12 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.711e-05/0.6192, allocations: 3.172 kB / 0.8192 GB, free: 28.12 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.933e-05/0.6192, allocations: 99.69 kB / 0.8193 GB, free: 28 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 4.03e-05/0.6193, allocations: 25.58 kB / 0.8193 GB, free: 27.97 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.072e-05/0.6193, allocations: 8.188 kB / 0.8194 GB, free: 27.96 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 6.302e-06/0.6193, allocations: 0 / 0.8194 GB, free: 27.96 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.491e-05/0.6193, allocations: 34.12 kB / 0.8194 GB, free: 27.92 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=1): time 6.41e-07/0.6193, allocations: 0.6875 kB / 0.8194 GB, free: 27.92 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1): time 0.0001193/0.6194, allocations: 40.41 kB / 0.8194 GB, free: 27.88 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.299e-05/0.6195, allocations: 56.81 kB / 0.8195 GB, free: 27.82 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.979e-05/0.6195, allocations: 89.86 kB / 0.8196 GB, free: 27.72 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.502e-06/0.6195, allocations: 27.58 kB / 0.8196 GB, free: 27.69 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 1.221e-05/0.6195, allocations: 85.16 kB / 0.8197 GB, free: 27.6 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.6195, allocations: 0.9375 kB / 0.8197 GB, free: 27.6 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.244e-05/0.6196, allocations: 12.28 kB / 0.8197 GB, free: 27.59 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.424e-05/0.6196, allocations: 313.7 kB / 0.82 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.328e-06/0.6196, allocations: 0.5625 kB / 0.82 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.701e-06/0.6196, allocations: 6.125 kB / 0.82 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.407e-05/0.6196, allocations: 16.83 kB / 0.82 GB, free: 27.25 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.6196, allocations: 0 / 0.82 GB, free: 27.25 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.214e-05/0.6197, allocations: 36.45 kB / 0.82 GB, free: 27.22 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.6197, allocations: 10.52 kB / 0.8201 GB, free: 27.22 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.6197, allocations: 0 / 0.8201 GB, free: 27.22 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.6197, allocations: 1.125 kB / 0.8201 GB, free: 27.22 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.473e-05/0.6198, allocations: 7.141 kB / 0.8201 GB, free: 27.21 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.6198, allocations: 1.125 kB / 0.8201 GB, free: 27.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.468e-06/0.6198, allocations: 3.406 kB / 0.8201 GB, free: 27.21 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-06/0.6198, allocations: 1 kB / 0.8201 GB, free: 27.21 MB / 0.6387 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 4.299e-05/0.6198, allocations: 109.4 kB / 0.8202 GB, free: 27.1 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.319e-06/0.6198, allocations: 0.8125 kB / 0.8202 GB, free: 27.1 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.486e-05/0.6199, allocations: 8.734 kB / 0.8202 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.6199, allocations: 3.938 kB / 0.8202 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.6199, allocations: 0 / 0.8202 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.6199, allocations: 1.031 kB / 0.8202 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.718e-05/0.6199, allocations: 99.53 kB / 0.8203 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.6199, allocations: 1.766 kB / 0.8203 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.227e-06/0.6199, allocations: 1.688 kB / 0.8203 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.6199, allocations: 1.328 kB / 0.8203 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.6199, allocations: 5.312 kB / 0.8203 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.6199, allocations: 6.203 kB / 0.8203 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.6199, allocations: 4.531 kB / 0.8203 GB, free: 26.95 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.227e-05/0.62, allocations: 66.06 kB / 0.8204 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.46e-06/0.62, allocations: 2.312 kB / 0.8204 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-06/0.62, allocations: 0.6562 kB / 0.8204 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.562e-06/0.62, allocations: 0.7812 kB / 0.8204 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.745e-05/0.62, allocations: 8.641 kB / 0.8204 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.62, allocations: 1.094 kB / 0.8204 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 1.085e-05/0.62, allocations: 75.28 kB / 0.8204 GB, free: 26.8 MB / 0.6387 GB Notification: Performance of sort global known variables: time 6.1e-08/0.62, allocations: 0 / 0.8204 GB, free: 26.8 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002022/0.6202, allocations: 1.312 kB / 0.8204 GB, free: 26.8 MB / 0.6387 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 8.559e-05/0.6203, allocations: 92.67 kB / 0.8205 GB, free: 26.71 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 7.29e-05/0.6204, allocations: 3.656 kB / 0.8205 GB, free: 26.71 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.6204, allocations: 320 / 0.8205 GB, free: 26.71 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 7.093e-06/0.6204, allocations: 10.22 kB / 0.8205 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001237/0.6205, allocations: 1.578 kB / 0.8205 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002025/0.6207, allocations: 80.83 kB / 0.8206 GB, free: 26.61 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.657e-05/0.6208, allocations: 54.94 kB / 0.8207 GB, free: 26.54 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 1.264e-05/0.6208, allocations: 5.156 kB / 0.8207 GB, free: 26.53 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.821e-05/0.6208, allocations: 7.438 kB / 0.8207 GB, free: 26.52 MB / 0.6387 GB Notification: Performance of SimCode: time 2.91e-07/0.6208, allocations: 0.5938 kB / 0.8207 GB, free: 26.52 MB / 0.6387 GB Notification: Performance of Templates: time 0.002289/0.6231, allocations: 158.4 kB / 0.8208 GB, free: 26.47 MB / 0.6387 GB " [Timeout remaining time 659] 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: 6.751723196357489] Failed to read output from testmodel.py, exit status != 0: 0.6324913594871759 0.644320405 0.023002004000000003 Calling exit ...