Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.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.001402/0.001402, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002085/0.002085, allocations: 216.3 kB / 22.25 MB, free: 4.863 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.55/1.55, allocations: 230.6 MB / 256 MB, free: 7.809 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.307/1.307, allocations: 203.8 MB / 0.5041 GB, free: 4.625 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.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin") [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.002343/0.002343, allocations: 59.91 kB / 0.7187 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6151/0.6174, allocations: 102 MB / 0.8183 GB, free: 28.91 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002124/0.6195, allocations: 0.6593 MB / 0.8189 GB, free: 28.51 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.6207, allocations: 0.8468 MB / 0.8198 GB, free: 27.88 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.145e-05/0.6208, allocations: 1.344 kB / 0.8198 GB, free: 27.88 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.061e-05/0.6208, allocations: 0 / 0.8198 GB, free: 27.88 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 6.521e-05/0.6209, allocations: 5.781 kB / 0.8198 GB, free: 27.88 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.6211, allocations: 16.38 kB / 0.8198 GB, free: 27.87 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 8.457e-05/0.6211, allocations: 23.8 kB / 0.8198 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.6212, allocations: 4.016 kB / 0.8198 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 6.585e-05/0.6213, allocations: 9.375 kB / 0.8198 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 4.637e-05/0.6214, allocations: 15.47 kB / 0.8198 GB, free: 27.85 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.6214, allocations: 1.375 kB / 0.8198 GB, free: 27.85 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 6.766e-05/0.6214, allocations: 8.75 kB / 0.8199 GB, free: 27.85 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.904e-05/0.6215, allocations: 6.547 kB / 0.8199 GB, free: 27.84 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.772e-05/0.6215, allocations: 11.38 kB / 0.8199 GB, free: 27.84 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.6217, allocations: 20.47 kB / 0.8199 GB, free: 27.83 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/0.6217, allocations: 3.938 kB / 0.8199 GB, free: 27.83 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.016e-06/0.6217, allocations: 1.906 kB / 0.8199 GB, free: 27.83 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.6217, allocations: 5.031 kB / 0.8199 GB, free: 27.82 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006877/0.6224, allocations: 264.3 kB / 0.8202 GB, free: 27.56 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 8.965e-05/0.6225, allocations: 10.88 kB / 0.8202 GB, free: 27.56 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.6227, allocations: 9.125 kB / 0.8202 GB, free: 27.56 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.6228, allocations: 109.7 kB / 0.8203 GB, free: 27.43 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.6228, allocations: 1.578 kB / 0.8203 GB, free: 27.43 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.6228, allocations: 2.469 kB / 0.8203 GB, free: 27.43 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002699/0.6231, allocations: 49.98 kB / 0.8203 GB, free: 27.39 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.6231, allocations: 0.6875 kB / 0.8203 GB, free: 27.39 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.6231, allocations: 4.906 kB / 0.8203 GB, free: 27.39 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.6232, allocations: 0.7188 kB / 0.8203 GB, free: 27.39 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002219/0.6234, allocations: 34.97 kB / 0.8204 GB, free: 27.39 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004991/0.6239, allocations: 194.5 kB / 0.8206 GB, free: 27.18 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.6241, allocations: 32.45 kB / 0.8206 GB, free: 27.16 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.6242, allocations: 23.83 kB / 0.8206 GB, free: 27.14 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.134e-05/0.6242, allocations: 6.312 kB / 0.8206 GB, free: 27.14 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.999e-05/0.6243, allocations: 31.66 kB / 0.8206 GB, free: 27.1 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.6243, allocations: 1.281 kB / 0.8206 GB, free: 27.1 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2): time 0.0005034/0.6248, allocations: 90.33 kB / 0.8207 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.6248, allocations: 52.44 kB / 0.8208 GB, free: 26.99 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.6249, allocations: 104.4 kB / 0.8209 GB, free: 26.89 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.6249, allocations: 26.36 kB / 0.8209 GB, free: 26.86 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.799e-05/0.625, allocations: 82.38 kB / 0.821 GB, free: 26.78 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.625, allocations: 6.062 kB / 0.821 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.954e-05/0.6251, allocations: 16.41 kB / 0.821 GB, free: 26.75 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.6252, allocations: 313.5 kB / 0.8213 GB, free: 26.44 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.6253, allocations: 17.39 kB / 0.8213 GB, free: 26.44 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.32e-05/0.6254, allocations: 15.08 kB / 0.8213 GB, free: 26.44 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/0.6255, allocations: 39.47 kB / 0.8214 GB, free: 26.43 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.6256, allocations: 0 / 0.8214 GB, free: 26.43 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002316/0.6258, allocations: 78.75 kB / 0.8214 GB, free: 26.38 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.6258, allocations: 5.438 kB / 0.8215 GB, free: 26.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.6258, allocations: 0.75 kB / 0.8215 GB, free: 26.38 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/0.6258, allocations: 3.938 kB / 0.8215 GB, free: 26.38 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.6259, allocations: 10.2 kB / 0.8215 GB, free: 26.38 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.626, allocations: 0 / 0.8215 GB, free: 26.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.565e-05/0.626, allocations: 5.859 kB / 0.8215 GB, free: 26.38 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.626, allocations: 8.656 kB / 0.8215 GB, free: 26.37 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 (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 7.634e-05/0.6261, allocations: 109.3 kB / 0.8216 GB, free: 26.26 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.6261, allocations: 5.062 kB / 0.8216 GB, free: 26.25 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002848/0.6264, allocations: 79.5 kB / 0.8217 GB, free: 26.21 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.6264, allocations: 1.672 kB / 0.8217 GB, free: 26.21 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.6264, allocations: 0 / 0.8217 GB, free: 26.21 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.6264, allocations: 5.078 kB / 0.8217 GB, free: 26.2 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.6265, allocations: 110.6 kB / 0.8218 GB, free: 26.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.6266, allocations: 1.688 kB / 0.8218 GB, free: 26.07 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.109e-05/0.6266, allocations: 8.062 kB / 0.8218 GB, free: 26.07 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.6266, allocations: 4.5 kB / 0.8218 GB, free: 26.07 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.6266, allocations: 1.188 kB / 0.8218 GB, free: 26.07 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.6266, allocations: 8.594 kB / 0.8218 GB, free: 26.06 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.6266, allocations: 0.7812 kB / 0.8218 GB, free: 26.06 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.6269, allocations: 163.4 kB / 0.822 GB, free: 25.92 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.144e-05/0.6269, allocations: 10.69 kB / 0.822 GB, free: 25.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.6269, allocations: 0.8438 kB / 0.822 GB, free: 25.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.988e-05/0.627, allocations: 10.45 kB / 0.822 GB, free: 25.91 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.171e-05/0.627, allocations: 6.828 kB / 0.822 GB, free: 25.91 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.627, allocations: 0 / 0.822 GB, free: 25.91 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.494e-05/0.6271, allocations: 80.89 kB / 0.8221 GB, free: 25.83 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.6271, allocations: 0 / 0.8221 GB, free: 25.83 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002132/0.6273, allocations: 3.906 kB / 0.8221 GB, free: 25.83 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 (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.0001689/0.6275, allocations: 100.5 kB / 0.8222 GB, free: 25.73 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002646/0.6277, allocations: 35.88 kB / 0.8222 GB, free: 25.73 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.6277, allocations: 0 / 0.8222 GB, free: 25.73 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.6278, allocations: 20.14 kB / 0.8222 GB, free: 25.73 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.6282, allocations: 3.141 kB / 0.8222 GB, free: 25.73 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003626/0.6285, allocations: 113.7 kB / 0.8223 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.337e-05/0.6286, allocations: 59.25 kB / 0.8224 GB, free: 25.54 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 2.5e-05/0.6286, allocations: 5.219 kB / 0.8224 GB, free: 25.54 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.384e-05/0.6287, allocations: 12.41 kB / 0.8224 GB, free: 25.52 MB / 0.6387 GB Notification: Performance of SimCode: time 3.41e-07/0.6287, allocations: 0.9375 kB / 0.8224 GB, free: 25.52 MB / 0.6387 GB Notification: Performance of Templates: time 0.003517/0.6322, allocations: 460.7 kB / 0.8228 GB, free: 25.46 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.868361355736852] Failed to read output from testmodel.py, exit status != 0: 0.6412332355976105 0.6524586990000001 0.028078114 Calling exit ...