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.0008794/0.0008794, allocations: 96.36 kB / 19.7 MB, free: 452 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.001124/0.001124, allocations: 216.7 kB / 23 MB, free: 2.977 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.964/0.964, allocations: 230.6 MB / 256.8 MB, free: 9.645 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.7596/0.7596, allocations: 203.8 MB / 0.5049 GB, free: 10.38 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.000942/0.000942, allocations: 66.91 kB / 0.7194 GB, free: 3.57 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.42/0.4209, allocations: 102 MB / 0.819 GB, free: 1.328 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.001184/0.4221, allocations: 0.5857 MB / 0.8196 GB, free: 0.9727 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 3.723e-05/0.4221, allocations: 3.453 kB / 0.8196 GB, free: 0.9727 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.676e-05/0.4222, allocations: 0 / 0.8196 GB, free: 0.9727 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.977e-05/0.4222, allocations: 3.938 kB / 0.8196 GB, free: 0.9688 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.633e-06/0.4222, allocations: 0 / 0.8196 GB, free: 0.9688 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.472e-05/0.4222, allocations: 4 kB / 0.8196 GB, free: 0.9648 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.887e-05/0.4223, allocations: 5.266 kB / 0.8196 GB, free: 0.9609 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.513e-05/0.4223, allocations: 3.828 kB / 0.8196 GB, free: 0.9609 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.144e-05/0.4223, allocations: 4 kB / 0.8196 GB, free: 0.957 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 1.893e-05/0.4224, allocations: 0 / 0.8196 GB, free: 0.957 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.528e-06/0.4224, allocations: 0 / 0.8196 GB, free: 0.957 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.687e-06/0.4224, allocations: 0 / 0.8196 GB, free: 0.957 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.258e-05/0.4224, allocations: 0 / 0.8196 GB, free: 0.957 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.882e-05/0.4224, allocations: 0.7812 kB / 0.8196 GB, free: 0.957 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.448e-05/0.4225, allocations: 4.688 kB / 0.8196 GB, free: 0.9531 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.4225, allocations: 1.188 kB / 0.8196 GB, free: 0.9531 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.555e-06/0.4225, allocations: 0.75 kB / 0.8196 GB, free: 0.9531 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.4225, allocations: 0 / 0.8196 GB, free: 0.9531 MB / 0.6042 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.0001672/0.4226, allocations: 240.4 kB / 0.8198 GB, free: 0.6953 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.4227, allocations: 13.83 kB / 0.8198 GB, free: 0.6914 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.88e-05/0.4227, allocations: 0.9375 kB / 0.8198 GB, free: 0.6914 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.345e-05/0.4227, allocations: 105.4 kB / 0.8199 GB, free: 0.5664 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.4227, allocations: 4.359 kB / 0.8199 GB, free: 0.5625 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.315e-06/0.4228, allocations: 0.9375 kB / 0.8199 GB, free: 0.5625 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.843e-05/0.4228, allocations: 33.11 kB / 0.82 GB, free: 0.5273 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.972e-06/0.4228, allocations: 192 / 0.82 GB, free: 0.5273 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.313e-06/0.4228, allocations: 7.875 kB / 0.82 GB, free: 0.5195 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.4228, allocations: 2.719 kB / 0.82 GB, free: 0.5195 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.478e-05/0.4229, allocations: 0.7969 kB / 0.82 GB, free: 0.5195 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.637e-05/0.4229, allocations: 100.8 kB / 0.8201 GB, free: 404 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 2.998e-05/0.423, allocations: 18.58 kB / 0.8201 GB, free: 376 kB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.933e-05/0.423, allocations: 10.66 kB / 0.8201 GB, free: 368 kB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.874e-06/0.423, allocations: 0 / 0.8201 GB, free: 368 kB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.221e-05/0.423, allocations: 35.3 kB / 0.8201 GB, free: 324 kB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 4.21e-07/0.423, allocations: 0 / 0.8201 GB, free: 324 kB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 9.675e-05/0.4231, allocations: 45.23 kB / 0.8202 GB, free: 280 kB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.951e-05/0.4231, allocations: 52.11 kB / 0.8202 GB, free: 216 kB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.031e-05/0.4231, allocations: 89.86 kB / 0.8203 GB, free: 116 kB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.606e-06/0.4231, allocations: 25.7 kB / 0.8203 GB, free: 84 kB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.268e-05/0.4232, allocations: 84.83 kB / 0.8204 GB, free: 16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.4232, allocations: 0 / 0.8204 GB, free: 16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.055e-05/0.4232, allocations: 13.34 kB / 0.8204 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.753e-05/0.4233, allocations: 311.4 kB / 0.8207 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.838e-06/0.4233, allocations: 5.5 kB / 0.8207 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.871e-06/0.4233, allocations: 3.812 kB / 0.8207 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.178e-05/0.4233, allocations: 9.922 kB / 0.8208 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.4233, allocations: 0 / 0.8208 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.28e-05/0.4233, allocations: 32.39 kB / 0.8208 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.4233, allocations: 13.81 kB / 0.8208 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.4234, allocations: 0 / 0.8208 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.4234, allocations: 0 / 0.8208 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.508e-05/0.4234, allocations: 7.031 kB / 0.8208 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.4234, allocations: 0 / 0.8208 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.694e-06/0.4234, allocations: 1.281 kB / 0.8208 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.4234, allocations: 0.6562 kB / 0.8208 GB, free: 15.61 MB / 0.6198 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.654e-05/0.4235, allocations: 112.4 kB / 0.8209 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.504e-06/0.4235, allocations: 1.469 kB / 0.8209 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.435e-05/0.4235, allocations: 7.844 kB / 0.8209 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.4235, allocations: 11.94 kB / 0.8209 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.4235, allocations: 3.688 kB / 0.8209 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-06/0.4235, allocations: 0 / 0.8209 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.26e-05/0.4235, allocations: 98.72 kB / 0.821 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.4235, allocations: 0 / 0.821 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.041e-06/0.4236, allocations: 3.625 kB / 0.821 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.4236, allocations: 0 / 0.821 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-06/0.4236, allocations: 0 / 0.821 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.4236, allocations: 0.5625 kB / 0.821 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4236, allocations: 3.938 kB / 0.821 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.887e-05/0.4236, allocations: 66.28 kB / 0.8211 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.577e-06/0.4236, allocations: 4.734 kB / 0.8211 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.216e-06/0.4236, allocations: 2.797 kB / 0.8211 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.206e-06/0.4236, allocations: 0 / 0.8211 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.207e-05/0.4236, allocations: 4.5 kB / 0.8211 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.4236, allocations: 1.938 kB / 0.8211 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.018e-05/0.4237, allocations: 75.28 kB / 0.8212 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.4237, allocations: 0 / 0.8212 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001075/0.4238, allocations: 0 / 0.8212 GB, free: 15.19 MB / 0.6198 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 6.449e-05/0.4238, allocations: 99.77 kB / 0.8213 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.815e-05/0.4239, allocations: 8 kB / 0.8213 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.4239, allocations: 0 / 0.8213 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.007e-06/0.4239, allocations: 4 kB / 0.8213 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.969e-05/0.424, allocations: 1.312 kB / 0.8213 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001649/0.4242, allocations: 102.4 kB / 0.8214 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.1e-05/0.4242, allocations: 57.42 kB / 0.8214 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.621e-05/0.4242, allocations: 11.38 kB / 0.8215 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of SimCode: time 3.61e-07/0.4242, allocations: 0 / 0.8215 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of Templates: time 0.001097/0.4253, allocations: 332.9 kB / 0.8218 GB, free: 14.86 MB / 0.6198 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.543131639715284] Failed to read output from testmodel.py, exit status != 0: 0.43125457502901554 0.446530334 0.022211617000000003 Calling exit ...