Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.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.0007101/0.0007101, allocations: 72.45 kB / 19.9 MB, free: 16 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.0007244/0.0007244, allocations: 165.9 kB / 23.18 MB, free: 1.383 MB / 18.57 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.8496/0.8496, allocations: 177.2 MB / 203.6 MB, free: 5.781 MB / 186.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.681/0.681, allocations: 155 MB / 415 MB, free: 500 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.Asin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Asin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin") [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.000791/0.000791, allocations: 68.95 kB / 0.62 GB, free: 12.72 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4756/0.4764, allocations: 102 MB / 0.7195 GB, free: 23.42 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001551/0.478, allocations: 0.6568 MB / 0.7202 GB, free: 23.01 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007265/0.4787, allocations: 0.8215 MB / 0.721 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.623e-05/0.4787, allocations: 0.5625 kB / 0.721 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.182e-05/0.4787, allocations: 0.6094 kB / 0.721 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.078e-05/0.4788, allocations: 5.703 kB / 0.721 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001599/0.4789, allocations: 13.86 kB / 0.721 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.121e-05/0.479, allocations: 24.67 kB / 0.721 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 7.313e-05/0.4791, allocations: 4.344 kB / 0.721 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 5.577e-05/0.4791, allocations: 15.25 kB / 0.7211 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.102e-05/0.4792, allocations: 9.891 kB / 0.7211 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.4792, allocations: 4.969 kB / 0.7211 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.245e-05/0.4792, allocations: 5.781 kB / 0.7211 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.2e-05/0.4792, allocations: 4.75 kB / 0.7211 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.709e-05/0.4792, allocations: 11.33 kB / 0.7211 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 8.863e-05/0.4793, allocations: 33.03 kB / 0.7211 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.4793, allocations: 0 / 0.7211 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.044e-06/0.4793, allocations: 0.5625 kB / 0.7211 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.4793, allocations: 1.125 kB / 0.7211 GB, free: 22.32 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.0002549/0.4796, allocations: 267.2 kB / 0.7214 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.4796, allocations: 11.14 kB / 0.7214 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.482e-05/0.4797, allocations: 7.891 kB / 0.7214 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.618e-05/0.4798, allocations: 114.1 kB / 0.7215 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.675e-06/0.4798, allocations: 1.625 kB / 0.7215 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-06/0.4798, allocations: 1.531 kB / 0.7215 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.4799, allocations: 53.38 kB / 0.7216 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.388e-06/0.4799, allocations: 192 / 0.7216 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.4799, allocations: 5.188 kB / 0.7216 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.085e-06/0.4799, allocations: 0 / 0.7216 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.011e-05/0.48, allocations: 44.86 kB / 0.7216 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001788/0.4802, allocations: 194.3 kB / 0.7218 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.824e-05/0.4802, allocations: 32.78 kB / 0.7218 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.464e-05/0.4803, allocations: 22.88 kB / 0.7218 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.4803, allocations: 4.969 kB / 0.7218 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.227e-05/0.4803, allocations: 32.28 kB / 0.7219 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 5.81e-07/0.4803, allocations: 0 / 0.7219 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000208/0.4805, allocations: 88.09 kB / 0.722 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.854e-05/0.4805, allocations: 53.09 kB / 0.722 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.95e-05/0.4806, allocations: 100.9 kB / 0.7221 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.129e-06/0.4806, allocations: 26.83 kB / 0.7221 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.909e-05/0.4806, allocations: 81.78 kB / 0.7222 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.341e-05/0.4806, allocations: 5.641 kB / 0.7222 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.877e-05/0.4806, allocations: 16.8 kB / 0.7222 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.176e-05/0.4806, allocations: 312.9 kB / 0.7225 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.5e-05/0.4807, allocations: 22.52 kB / 0.7226 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.957e-05/0.4807, allocations: 14.17 kB / 0.7226 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.446e-05/0.4808, allocations: 37.08 kB / 0.7226 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.4808, allocations: 1.125 kB / 0.7226 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001024/0.4809, allocations: 78.66 kB / 0.7227 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.4809, allocations: 9.453 kB / 0.7227 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-06/0.4809, allocations: 1.094 kB / 0.7227 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.81e-06/0.4809, allocations: 0 / 0.7227 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.116e-05/0.481, allocations: 9.094 kB / 0.7227 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.481, allocations: 0.75 kB / 0.7227 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.441e-05/0.481, allocations: 10.92 kB / 0.7227 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-06/0.481, allocations: 0 / 0.7227 GB, free: 20.84 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.257e-05/0.4811, allocations: 109.5 kB / 0.7228 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.384e-05/0.4811, allocations: 5.797 kB / 0.7228 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.4812, allocations: 83.55 kB / 0.7229 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.4812, allocations: 0.7969 kB / 0.7229 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.4812, allocations: 1.281 kB / 0.7229 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.4812, allocations: 0 / 0.7229 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.767e-05/0.4813, allocations: 104 kB / 0.723 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4813, allocations: 1.344 kB / 0.723 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.996e-05/0.4813, allocations: 7.953 kB / 0.723 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4813, allocations: 5.188 kB / 0.723 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.481e-06/0.4813, allocations: 4.828 kB / 0.723 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4813, allocations: 3.938 kB / 0.723 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.4813, allocations: 1.125 kB / 0.723 GB, free: 20.53 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/0.4814, allocations: 159.6 kB / 0.7232 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.795e-06/0.4814, allocations: 13.47 kB / 0.7232 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.865e-06/0.4815, allocations: 1.688 kB / 0.7232 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.982e-05/0.4815, allocations: 5.516 kB / 0.7232 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.603e-05/0.4815, allocations: 10.44 kB / 0.7232 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.4815, allocations: 9.156 kB / 0.7232 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.601e-05/0.4815, allocations: 79.77 kB / 0.7233 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4815, allocations: 1.094 kB / 0.7233 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001313/0.4817, allocations: 4.078 kB / 0.7233 GB, free: 20.29 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 7.495e-05/0.4817, allocations: 91.83 kB / 0.7234 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001105/0.4819, allocations: 36.25 kB / 0.7234 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.72e-07/0.4819, allocations: 0 / 0.7234 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.642e-05/0.4819, allocations: 24 kB / 0.7234 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/0.4821, allocations: 3.344 kB / 0.7234 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001788/0.4823, allocations: 145 kB / 0.7236 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.902e-05/0.4823, allocations: 67.39 kB / 0.7236 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.683e-05/0.4823, allocations: 11.64 kB / 0.7237 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of SimCode: time 4.81e-07/0.4823, allocations: 0 / 0.7237 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of Templates: time 0.00162/0.4839, allocations: 0.5529 MB / 0.7242 GB, free: 19.93 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.2744601930025965] Failed to read output from testmodel.py, exit status != 0: 0.489111112896353 0.498827662 0.017555484 Calling exit ...