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.000622/0.000622, allocations: 115 kB / 19.7 MB, free: 0.5234 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.0007481/0.0007481, allocations: 207.9 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.8876/0.8876, allocations: 230.6 MB / 256.8 MB, free: 3.461 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.7519/0.7519, allocations: 203.8 MB / 0.5049 GB, free: 0.7344 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.0008752/0.0008752, allocations: 67.89 kB / 0.7195 GB, free: 14.42 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4408/0.4417, allocations: 102 MB / 0.8191 GB, free: 25.27 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001444/0.4432, allocations: 0.658 MB / 0.8198 GB, free: 24.86 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006527/0.4438, allocations: 0.8534 MB / 0.8206 GB, free: 24.22 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.97e-05/0.4438, allocations: 5.062 kB / 0.8206 GB, free: 24.22 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.316e-05/0.4439, allocations: 4.641 kB / 0.8206 GB, free: 24.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.401e-05/0.4439, allocations: 0.8125 kB / 0.8206 GB, free: 24.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000167/0.4441, allocations: 21.5 kB / 0.8206 GB, free: 24.2 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.682e-05/0.4442, allocations: 20.73 kB / 0.8207 GB, free: 24.19 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 8.243e-05/0.4442, allocations: 8 kB / 0.8207 GB, free: 24.19 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 5.586e-05/0.4443, allocations: 8.609 kB / 0.8207 GB, free: 24.18 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.553e-05/0.4443, allocations: 14 kB / 0.8207 GB, free: 24.18 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/0.4443, allocations: 2.219 kB / 0.8207 GB, free: 24.18 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.328e-05/0.4444, allocations: 9.891 kB / 0.8207 GB, free: 24.17 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.337e-05/0.4444, allocations: 6.266 kB / 0.8207 GB, free: 24.17 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.057e-05/0.4444, allocations: 11.33 kB / 0.8207 GB, free: 24.16 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.4445, allocations: 32.78 kB / 0.8207 GB, free: 24.15 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.4445, allocations: 0 / 0.8207 GB, free: 24.15 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.964e-06/0.4445, allocations: 1.594 kB / 0.8207 GB, free: 24.15 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.024e-06/0.4445, allocations: 0 / 0.8207 GB, free: 24.15 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003137/0.4448, allocations: 265.2 kB / 0.821 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.4449, allocations: 10.09 kB / 0.821 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.033e-05/0.445, allocations: 7.656 kB / 0.821 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.857e-05/0.445, allocations: 110.9 kB / 0.8211 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-06/0.445, allocations: 2.344 kB / 0.8211 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.445, allocations: 6.281 kB / 0.8211 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.4452, allocations: 49.52 kB / 0.8212 GB, free: 23.71 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.4452, allocations: 5.109 kB / 0.8212 GB, free: 23.71 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.926e-06/0.4452, allocations: 8.75 kB / 0.8212 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.4452, allocations: 0.6875 kB / 0.8212 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.639e-05/0.4453, allocations: 34.17 kB / 0.8212 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002551/0.4455, allocations: 214.5 kB / 0.8214 GB, free: 23.46 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.885e-05/0.4456, allocations: 40.62 kB / 0.8215 GB, free: 23.43 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.464e-05/0.4457, allocations: 21 kB / 0.8215 GB, free: 23.42 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.4457, allocations: 5.141 kB / 0.8215 GB, free: 23.42 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.574e-05/0.4457, allocations: 35.78 kB / 0.8215 GB, free: 23.38 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.4457, allocations: 0 / 0.8215 GB, free: 23.38 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002105/0.4459, allocations: 80.16 kB / 0.8216 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.757e-05/0.4459, allocations: 51.41 kB / 0.8216 GB, free: 23.28 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.348e-05/0.446, allocations: 103.1 kB / 0.8217 GB, free: 23.18 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.829e-06/0.446, allocations: 25.7 kB / 0.8218 GB, free: 23.14 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.115e-05/0.446, allocations: 86.95 kB / 0.8219 GB, free: 23.06 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.433e-05/0.446, allocations: 5.016 kB / 0.8219 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.122e-05/0.446, allocations: 19.62 kB / 0.8219 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.882e-05/0.4461, allocations: 313.4 kB / 0.8222 GB, free: 22.72 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.413e-05/0.4461, allocations: 25.02 kB / 0.8222 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.913e-05/0.4462, allocations: 15.66 kB / 0.8222 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.228e-05/0.4462, allocations: 37.78 kB / 0.8223 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4462, allocations: 4 kB / 0.8223 GB, free: 22.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.979e-05/0.4463, allocations: 70.67 kB / 0.8223 GB, free: 22.65 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.4464, allocations: 5.969 kB / 0.8223 GB, free: 22.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.4464, allocations: 0.9688 kB / 0.8223 GB, free: 22.65 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.4464, allocations: 0 / 0.8223 GB, free: 22.65 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.509e-05/0.4464, allocations: 13.77 kB / 0.8223 GB, free: 22.65 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.4464, allocations: 0.625 kB / 0.8223 GB, free: 22.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.54e-05/0.4465, allocations: 9.688 kB / 0.8224 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.4465, allocations: 1 kB / 0.8224 GB, free: 22.64 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 (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 3.262e-05/0.4465, allocations: 116.8 kB / 0.8225 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.324e-05/0.4465, allocations: 1.891 kB / 0.8225 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001353/0.4467, allocations: 75.08 kB / 0.8225 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.4467, allocations: 0.9688 kB / 0.8225 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.4467, allocations: 0.7969 kB / 0.8225 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.4467, allocations: 4.938 kB / 0.8225 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.529e-05/0.4467, allocations: 130.8 kB / 0.8227 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4467, allocations: 0.7188 kB / 0.8227 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.797e-05/0.4468, allocations: 7.844 kB / 0.8227 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.4468, allocations: 1.578 kB / 0.8227 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.4468, allocations: 0.75 kB / 0.8227 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.01e-07/0.4468, allocations: 0 / 0.8227 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4468, allocations: 1.75 kB / 0.8227 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.4469, allocations: 175.1 kB / 0.8228 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-06/0.4469, allocations: 9.594 kB / 0.8229 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.724e-06/0.4469, allocations: 0 / 0.8229 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.631e-05/0.4469, allocations: 7.5 kB / 0.8229 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.108e-05/0.447, allocations: 1.219 kB / 0.8229 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-06/0.447, allocations: 1.188 kB / 0.8229 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.479e-05/0.447, allocations: 84.5 kB / 0.8229 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.447, allocations: 4.031 kB / 0.823 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001355/0.4471, allocations: 3.375 kB / 0.823 GB, free: 22.07 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 (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 6.412e-05/0.4472, allocations: 95.95 kB / 0.823 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001235/0.4473, allocations: 39.56 kB / 0.8231 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.4473, allocations: 3.938 kB / 0.8231 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.534e-05/0.4473, allocations: 24.41 kB / 0.8231 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001936/0.4475, allocations: 8.359 kB / 0.8231 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002047/0.4477, allocations: 129.4 kB / 0.8232 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.456e-05/0.4478, allocations: 0.676 MB / 0.8239 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.076e-05/0.4478, allocations: 10.12 kB / 0.8239 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of SimCode: time 5.51e-07/0.4478, allocations: 0 / 0.8239 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of Templates: time 0.001403/0.4492, allocations: 0.5509 MB / 0.8244 GB, free: 21.08 MB / 0.6355 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.521805877098814] Failed to read output from testmodel.py, exit status != 0: 0.4542091740295291 0.46174347400000004 0.015589397000000001 Calling exit ...