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.0007278/0.0007278, allocations: 100.4 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.0007147/0.0007147, allocations: 213 kB / 23 MB, free: 2.98 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.8598/0.8598, allocations: 230.6 MB / 256.8 MB, free: 9.609 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.7087/0.7087, allocations: 203.8 MB / 0.5049 GB, free: 10.46 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.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.0008839/0.0008839, allocations: 62.78 kB / 0.7194 GB, free: 3.52 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4155/0.4164, allocations: 102 MB / 0.8191 GB, free: 1.352 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001233/0.4177, allocations: 0.6592 MB / 0.8197 GB, free: 0.9336 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005858/0.4183, allocations: 0.8447 MB / 0.8205 GB, free: 308 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.091e-05/0.4183, allocations: 3.375 kB / 0.8205 GB, free: 308 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.833e-05/0.4183, allocations: 4.547 kB / 0.8205 GB, free: 304 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.808e-05/0.4184, allocations: 3.938 kB / 0.8205 GB, free: 300 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001613/0.4185, allocations: 14.92 kB / 0.8206 GB, free: 292 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.579e-05/0.4186, allocations: 22.73 kB / 0.8206 GB, free: 280 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.046e-05/0.4187, allocations: 7.344 kB / 0.8206 GB, free: 276 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.02e-05/0.4187, allocations: 10.27 kB / 0.8206 GB, free: 272 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.355e-05/0.4187, allocations: 8.812 kB / 0.8206 GB, free: 268 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.728e-06/0.4188, allocations: 2.812 kB / 0.8206 GB, free: 268 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.6e-05/0.4188, allocations: 8.875 kB / 0.8206 GB, free: 264 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.217e-05/0.4188, allocations: 5.219 kB / 0.8206 GB, free: 260 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.723e-05/0.4188, allocations: 10.61 kB / 0.8206 GB, free: 252 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.705e-05/0.4189, allocations: 32.88 kB / 0.8207 GB, free: 240 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.4189, allocations: 0 / 0.8207 GB, free: 240 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.323e-06/0.4189, allocations: 4 kB / 0.8207 GB, free: 236 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.4189, allocations: 0 / 0.8207 GB, free: 236 kB / 0.6042 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.0002846/0.4192, allocations: 268.2 kB / 0.8209 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.4192, allocations: 10.61 kB / 0.8209 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.516e-05/0.4193, allocations: 1.969 kB / 0.8209 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.932e-05/0.4194, allocations: 115.3 kB / 0.821 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.4194, allocations: 384 / 0.821 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-06/0.4194, allocations: 1.031 kB / 0.821 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.4195, allocations: 52.89 kB / 0.8211 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.4195, allocations: 4.188 kB / 0.8211 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.4195, allocations: 3.938 kB / 0.8211 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.4195, allocations: 0.7031 kB / 0.8211 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.945e-05/0.4196, allocations: 30.47 kB / 0.8211 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002306/0.4198, allocations: 191 kB / 0.8213 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.782e-05/0.4199, allocations: 40.7 kB / 0.8213 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.525e-05/0.42, allocations: 28.33 kB / 0.8214 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.42, allocations: 3.938 kB / 0.8214 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.42, allocations: 32.52 kB / 0.8214 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/0.42, allocations: 3.984 kB / 0.8214 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002003/0.4202, allocations: 75.52 kB / 0.8215 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/0.4202, allocations: 61.62 kB / 0.8215 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.181e-05/0.4203, allocations: 96.12 kB / 0.8216 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.925e-06/0.4203, allocations: 26.86 kB / 0.8217 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.067e-05/0.4203, allocations: 90.75 kB / 0.8217 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.422e-05/0.4203, allocations: 6.875 kB / 0.8218 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.988e-05/0.4203, allocations: 12.52 kB / 0.8218 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.567e-05/0.4204, allocations: 317.5 kB / 0.8221 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.093e-05/0.4204, allocations: 15.22 kB / 0.8221 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.477e-05/0.4205, allocations: 18.28 kB / 0.8221 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.484e-05/0.4206, allocations: 46.7 kB / 0.8221 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.4206, allocations: 0 / 0.8221 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001007/0.4207, allocations: 74.19 kB / 0.8222 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.4207, allocations: 5.75 kB / 0.8222 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.4207, allocations: 0.7969 kB / 0.8222 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.4207, allocations: 0 / 0.8222 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.586e-05/0.4207, allocations: 8.672 kB / 0.8222 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.4207, allocations: 0 / 0.8222 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.177e-05/0.4208, allocations: 12.97 kB / 0.8222 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.237e-06/0.4208, allocations: 0 / 0.8222 GB, free: 14.75 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 (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 4.42e-05/0.4208, allocations: 106.4 kB / 0.8223 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/0.4208, allocations: 9.531 kB / 0.8224 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/0.4209, allocations: 72.47 kB / 0.8224 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.4209, allocations: 4 kB / 0.8224 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.421, allocations: 0 / 0.8224 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.421, allocations: 5.672 kB / 0.8224 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.564e-05/0.421, allocations: 108.5 kB / 0.8225 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.421, allocations: 3.938 kB / 0.8225 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.465e-05/0.4211, allocations: 8.516 kB / 0.8225 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4211, allocations: 5.188 kB / 0.8226 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.4211, allocations: 0.7031 kB / 0.8226 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4211, allocations: 1.406 kB / 0.8226 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.4211, allocations: 0 / 0.8226 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002965/0.4214, allocations: 159.5 kB / 0.8227 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.624e-06/0.4214, allocations: 20.12 kB / 0.8227 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.465e-06/0.4214, allocations: 0.6562 kB / 0.8227 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.489e-05/0.4214, allocations: 6.172 kB / 0.8227 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/0.4214, allocations: 1.312 kB / 0.8227 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.4214, allocations: 1.531 kB / 0.8227 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.497e-05/0.4215, allocations: 83.23 kB / 0.8228 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4215, allocations: 0 / 0.8228 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001396/0.4216, allocations: 3.781 kB / 0.8228 GB, free: 14.21 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 (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 7.756e-05/0.4217, allocations: 97.12 kB / 0.8229 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001196/0.4218, allocations: 41.11 kB / 0.8229 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.4218, allocations: 0 / 0.8229 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.875e-05/0.4218, allocations: 18.69 kB / 0.823 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.422, allocations: 7.281 kB / 0.823 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002254/0.4223, allocations: 131.4 kB / 0.8231 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.632e-05/0.4223, allocations: 62.56 kB / 0.8232 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.255e-05/0.4223, allocations: 12.09 kB / 0.8232 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of SimCode: time 4.6e-07/0.4223, allocations: 3.938 kB / 0.8232 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of Templates: time 0.00127/0.4236, allocations: 0.5497 MB / 0.8237 GB, free: 13.85 MB / 0.6198 GB " [Timeout remaining time 660] 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: 5.09191613458097] Failed to read output from testmodel.py, exit status != 0: 0.4286760948598385 0.43750637000000003 0.016672183 Calling exit ...