Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.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.0008073/0.0008073, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007163/0.0007163, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.817/0.817, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.6578/0.6578, allocations: 154.6 MB / 414.5 MB, free: 0.8164 MB / 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.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.6193 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.535e-05/1.675e-05, allocations: 6.281 kB / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001014/0.00103, allocations: 0.6498 MB / 0.62 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0006858/0.001716, allocations: 0.8471 MB / 0.6208 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.987e-05/0.001746, allocations: 0 / 0.6208 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.364e-05/0.00177, allocations: 0 / 0.6208 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.553e-05/0.001825, allocations: 11.88 kB / 0.6208 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001701/0.001995, allocations: 7.984 kB / 0.6208 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.33e-05/0.002059, allocations: 27.92 kB / 0.6209 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.403e-05/0.002143, allocations: 4 kB / 0.6209 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.001e-05/0.002203, allocations: 19.97 kB / 0.6209 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.912e-05/0.002232, allocations: 3.938 kB / 0.6209 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.002245, allocations: 8 kB / 0.6209 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.716e-05/0.002282, allocations: 4 kB / 0.6209 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.338e-05/0.002296, allocations: 7.984 kB / 0.6209 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.566e-05/0.002311, allocations: 8 kB / 0.6209 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.685e-05/0.002408, allocations: 27.83 kB / 0.6209 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.002411, allocations: 4 kB / 0.6209 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.42e-07/0.002412, allocations: 0 / 0.6209 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.002415, allocations: 0 / 0.6209 GB, free: 11.52 MB / 0.5886 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.0003103/0.002725, allocations: 254.4 kB / 0.6212 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.002758, allocations: 17.41 kB / 0.6212 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.142e-05/0.002829, allocations: 12.88 kB / 0.6212 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.451e-05/0.002904, allocations: 109.7 kB / 0.6213 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.002914, allocations: 4.375 kB / 0.6213 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-06/0.002921, allocations: 384 / 0.6213 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.003037, allocations: 50.23 kB / 0.6214 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.003044, allocations: 192 / 0.6214 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.003053, allocations: 384 / 0.6214 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.003057, allocations: 384 / 0.6214 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.467e-05/0.003142, allocations: 43.84 kB / 0.6214 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002334/0.003375, allocations: 192.6 kB / 0.6216 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.337e-05/0.003448, allocations: 34.56 kB / 0.6216 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.478e-05/0.003493, allocations: 28.89 kB / 0.6217 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.00351, allocations: 0 / 0.6217 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.003529, allocations: 30.56 kB / 0.6217 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 6.21e-07/0.00353, allocations: 0 / 0.6217 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002044/0.003734, allocations: 93.52 kB / 0.6218 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.003765, allocations: 51.41 kB / 0.6218 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.667e-05/0.003811, allocations: 93.86 kB / 0.6219 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.003823, allocations: 33.7 kB / 0.6219 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.061e-05/0.003854, allocations: 84.09 kB / 0.622 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.535e-05/0.003869, allocations: 7.938 kB / 0.622 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.228e-05/0.003891, allocations: 13.72 kB / 0.622 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.341e-05/0.003965, allocations: 314.8 kB / 0.6223 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.625e-05/0.004001, allocations: 16.11 kB / 0.6224 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.383e-05/0.004035, allocations: 19.98 kB / 0.6224 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.901e-05/0.004104, allocations: 36.81 kB / 0.6224 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.004105, allocations: 7.938 kB / 0.6224 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.874e-05/0.004194, allocations: 61.84 kB / 0.6225 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.004206, allocations: 12.09 kB / 0.6225 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.00421, allocations: 3.938 kB / 0.6225 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.004221, allocations: 0 / 0.6225 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.31e-05/0.004274, allocations: 7.984 kB / 0.6225 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.004278, allocations: 0 / 0.6225 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.042e-05/0.004298, allocations: 7.984 kB / 0.6225 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/0.004304, allocations: 8 kB / 0.6225 GB, free: 9.727 MB / 0.5886 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 5.016e-05/0.004355, allocations: 114.8 kB / 0.6226 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.979e-06/0.004365, allocations: 0 / 0.6226 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001154/0.00448, allocations: 84.83 kB / 0.6227 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.004482, allocations: 0 / 0.6227 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.004485, allocations: 0 / 0.6227 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.004488, allocations: 0 / 0.6227 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.708e-05/0.004565, allocations: 101.3 kB / 0.6228 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.004566, allocations: 0 / 0.6228 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.19e-05/0.004587, allocations: 11.98 kB / 0.6228 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.004589, allocations: 0 / 0.6228 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.004594, allocations: 0 / 0.6228 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.004596, allocations: 7.969 kB / 0.6228 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.004597, allocations: 0 / 0.6228 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.004712, allocations: 163.5 kB / 0.623 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.298e-06/0.004716, allocations: 4 kB / 0.623 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.468e-06/0.004726, allocations: 3.984 kB / 0.623 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.572e-05/0.004761, allocations: 15.81 kB / 0.623 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.879e-05/0.00479, allocations: 0 / 0.623 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-06/0.004793, allocations: 3.984 kB / 0.623 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.444e-05/0.004817, allocations: 87.31 kB / 0.6231 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.004817, allocations: 0 / 0.6231 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001323/0.00495, allocations: 4 kB / 0.6231 GB, free: 9.07 MB / 0.5886 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.356e-05/0.005013, allocations: 91.25 kB / 0.6232 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001091/0.005122, allocations: 39.95 kB / 0.6232 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.32e-07/0.005123, allocations: 0 / 0.6232 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.733e-05/0.005161, allocations: 24.05 kB / 0.6232 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000165/0.005326, allocations: 0 / 0.6232 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002069/0.005533, allocations: 138.5 kB / 0.6234 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.787e-05/0.00557, allocations: 63.34 kB / 0.6234 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.281e-05/0.005593, allocations: 8.5 kB / 0.6234 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of SimCode: time 3.51e-07/0.005594, allocations: 0 / 0.6234 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of Templates: time 0.001208/0.006802, allocations: 0.5638 MB / 0.624 GB, free: 8.094 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.720012027770281] Failed to read output from testmodel.py, exit status != 0: 0.010870452038943768 0.017905121 0.014005059 Calling exit ...