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.001382/0.001382, allocations: 83.62 kB / 19.16 MB, free: 2.535 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.00148/0.00148, allocations: 170.2 kB / 22.44 MB, free: 5.34 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.394/1.394, allocations: 177.2 MB / 202.8 MB, free: 9.184 MB / 190.1 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 1.188/1.188, allocations: 155 MB / 414.2 MB, free: 4.93 MB / 382.1 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 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.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.002059/0.002059, allocations: 66.78 kB / 0.6192 GB, free: 4.074 MB / 0.5294 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.5499/0.552, allocations: 102 MB / 0.7188 GB, free: 1.734 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Asin): time 0.002412/0.5544, allocations: 0.6461 MB / 0.7194 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.5555, allocations: 0.8176 MB / 0.7202 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.557e-05/0.5556, allocations: 0 / 0.7202 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.974e-05/0.5556, allocations: 8.5 kB / 0.7202 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.462e-05/0.5557, allocations: 5.188 kB / 0.7202 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002202/0.5559, allocations: 10.52 kB / 0.7203 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.281e-05/0.556, allocations: 28.17 kB / 0.7203 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.5561, allocations: 3.516 kB / 0.7203 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.173e-05/0.5562, allocations: 20.72 kB / 0.7203 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.155e-05/0.5562, allocations: 4.766 kB / 0.7203 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.5562, allocations: 1.5 kB / 0.7203 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.143e-05/0.5563, allocations: 5.703 kB / 0.7203 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.975e-05/0.5563, allocations: 8.734 kB / 0.7203 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.392e-05/0.5563, allocations: 10.98 kB / 0.7203 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.5565, allocations: 32.72 kB / 0.7204 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.5565, allocations: 0.7031 kB / 0.7204 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.512e-06/0.5565, allocations: 0 / 0.7204 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.5565, allocations: 0 / 0.7204 GB, free: 0.6445 MB / 0.6075 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.0004325/0.5569, allocations: 264.9 kB / 0.7206 GB, free: 384 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.557, allocations: 9.594 kB / 0.7206 GB, free: 384 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.5571, allocations: 3.266 kB / 0.7206 GB, free: 384 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.307e-05/0.5572, allocations: 118.6 kB / 0.7207 GB, free: 244 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.5572, allocations: 384 / 0.7207 GB, free: 244 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.5572, allocations: 5.594 kB / 0.7207 GB, free: 240 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.5574, allocations: 53.64 kB / 0.7208 GB, free: 200 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.5574, allocations: 4.828 kB / 0.7208 GB, free: 196 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.5575, allocations: 5.219 kB / 0.7208 GB, free: 192 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.5575, allocations: 0 / 0.7208 GB, free: 192 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002366/0.5577, allocations: 32.11 kB / 0.7208 GB, free: 188 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003536/0.5581, allocations: 195.2 kB / 0.721 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.5582, allocations: 35.52 kB / 0.7211 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.5584, allocations: 24.48 kB / 0.7211 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.5584, allocations: 7.875 kB / 0.7211 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/0.5584, allocations: 33.97 kB / 0.7211 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=2): time 1.503e-06/0.5584, allocations: 0 / 0.7211 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of matching and sorting (n=2): time 0.0005324/0.559, allocations: 84.12 kB / 0.7212 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.559, allocations: 55.53 kB / 0.7213 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.5591, allocations: 101.1 kB / 0.7214 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.5592, allocations: 26.27 kB / 0.7214 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 6.376e-05/0.5592, allocations: 84.03 kB / 0.7215 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/0.5592, allocations: 3.953 kB / 0.7215 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.143e-05/0.5593, allocations: 16.86 kB / 0.7215 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.5595, allocations: 312.8 kB / 0.7218 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.5596, allocations: 18.66 kB / 0.7218 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.5597, allocations: 14.02 kB / 0.7218 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/0.5599, allocations: 42.2 kB / 0.7218 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5599, allocations: 0 / 0.7218 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003174/0.5603, allocations: 75.27 kB / 0.7219 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.5603, allocations: 4.969 kB / 0.7219 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.5603, allocations: 1.219 kB / 0.7219 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.5603, allocations: 0 / 0.7219 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.5604, allocations: 16.78 kB / 0.7219 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.5604, allocations: 1.625 kB / 0.7219 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.346e-05/0.5605, allocations: 9.078 kB / 0.722 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.5605, allocations: 1.094 kB / 0.722 GB, free: 15.15 MB / 0.6231 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 9.81e-05/0.5606, allocations: 109.9 kB / 0.7221 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.932e-05/0.5606, allocations: 6.016 kB / 0.7221 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003203/0.561, allocations: 78.61 kB / 0.7221 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.561, allocations: 5.219 kB / 0.7221 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.561, allocations: 0.6562 kB / 0.7221 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.561, allocations: 0 / 0.7221 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/0.5612, allocations: 104.8 kB / 0.7222 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.5612, allocations: 0 / 0.7222 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.812e-05/0.5613, allocations: 9.203 kB / 0.7223 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.5613, allocations: 4.688 kB / 0.7223 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.5613, allocations: 1.562 kB / 0.7223 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.5613, allocations: 0 / 0.7223 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5613, allocations: 3.938 kB / 0.7223 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003436/0.5616, allocations: 168.2 kB / 0.7224 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 2.037e-05/0.5616, allocations: 13.58 kB / 0.7224 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.5617, allocations: 1.719 kB / 0.7224 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.5618, allocations: 6.375 kB / 0.7224 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.5618, allocations: 6.781 kB / 0.7224 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.5618, allocations: 0 / 0.7224 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.85e-05/0.5619, allocations: 89.2 kB / 0.7225 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.5619, allocations: 0 / 0.7225 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003886/0.5623, allocations: 2.938 kB / 0.7225 GB, free: 14.61 MB / 0.6231 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.0001435/0.5624, allocations: 98.28 kB / 0.7226 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002982/0.5627, allocations: 34.55 kB / 0.7227 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.5627, allocations: 1.062 kB / 0.7227 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.5629, allocations: 19.8 kB / 0.7227 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004484/0.5633, allocations: 9.375 kB / 0.7227 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003676/0.5637, allocations: 125.1 kB / 0.7228 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.937e-05/0.5638, allocations: 60.5 kB / 0.7229 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 2.571e-05/0.5638, allocations: 0 / 0.7229 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.92e-05/0.5638, allocations: 14.7 kB / 0.7229 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of SimCode: time 3.71e-07/0.5638, allocations: 0 / 0.7229 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of Templates: time 0.003735/0.5676, allocations: 490.5 kB / 0.7234 GB, free: 14.21 MB / 0.6231 GB " [Timeout remaining time 659] 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: 6.014984967187047] Failed to read output from testmodel.py, exit status != 0: 0.5777865443378687 0.6019493619999999 0.04063118 Calling exit ...