Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.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.0007712/0.0007712, allocations: 76.55 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.000748/0.000748, allocations: 181.9 kB / 23.22 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.822/0.822, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.6597/0.6597, allocations: 154.5 MB / 414.5 MB, free: 0.8594 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.Discrete.Validation.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.566e-06/3.566e-06, allocations: 0 / 0.6192 GB, free: 13.27 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.635e-05/2.992e-05, allocations: 2.281 kB / 0.6192 GB, free: 13.27 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001279/0.001309, allocations: 0.6646 MB / 0.6199 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009985/0.002307, allocations: 1.092 MB / 0.621 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.753e-05/0.002345, allocations: 0 / 0.621 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.631e-05/0.002371, allocations: 7.875 kB / 0.621 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.576e-05/0.002427, allocations: 3.984 kB / 0.621 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.002688, allocations: 55.69 kB / 0.621 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.2e-05/0.00277, allocations: 51.8 kB / 0.6211 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.22e-05/0.002852, allocations: 7.984 kB / 0.6211 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.947e-05/0.002921, allocations: 31.97 kB / 0.6211 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.359e-05/0.002965, allocations: 23.91 kB / 0.6211 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.00298, allocations: 4 kB / 0.6211 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.382e-05/0.003034, allocations: 15.98 kB / 0.6212 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.924e-05/0.003053, allocations: 7.984 kB / 0.6212 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.916e-05/0.003083, allocations: 23.92 kB / 0.6212 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.003212, allocations: 63.77 kB / 0.6213 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.003214, allocations: 4 kB / 0.6213 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.022e-06/0.003215, allocations: 4 kB / 0.6213 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.00322, allocations: 0 / 0.6213 GB, free: 11.2 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004014/0.003621, allocations: 286.2 kB / 0.6215 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.003655, allocations: 17.41 kB / 0.6215 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.271e-05/0.003717, allocations: 8.875 kB / 0.6216 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.822e-05/0.003786, allocations: 109.8 kB / 0.6217 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.003797, allocations: 4.375 kB / 0.6217 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.003807, allocations: 4.375 kB / 0.6217 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.003956, allocations: 70.2 kB / 0.6217 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.003962, allocations: 192 / 0.6217 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.003972, allocations: 4.359 kB / 0.6217 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.003977, allocations: 4.375 kB / 0.6217 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.855e-05/0.004076, allocations: 47.83 kB / 0.6218 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003002/0.004376, allocations: 216.5 kB / 0.622 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.945e-05/0.004475, allocations: 54.55 kB / 0.622 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.13e-05/0.004527, allocations: 32.97 kB / 0.6221 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.004544, allocations: 0 / 0.6221 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001283/0.004673, allocations: 95.14 kB / 0.6222 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.004673, allocations: 0 / 0.6222 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0002482/0.004922, allocations: 121.7 kB / 0.6223 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.004955, allocations: 55.41 kB / 0.6223 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.91e-05/0.005014, allocations: 105.8 kB / 0.6224 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.005027, allocations: 29.7 kB / 0.6225 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.508e-05/0.005062, allocations: 88.09 kB / 0.6226 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.00508, allocations: 19.89 kB / 0.6226 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.032e-05/0.005111, allocations: 17.72 kB / 0.6226 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.372e-05/0.005184, allocations: 322.8 kB / 0.6229 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.062e-05/0.005235, allocations: 23.92 kB / 0.6229 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.172e-05/0.005297, allocations: 60.27 kB / 0.623 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.00541, allocations: 96.19 kB / 0.6231 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.005412, allocations: 0 / 0.6231 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001454/0.005557, allocations: 121.6 kB / 0.6232 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.005571, allocations: 11.94 kB / 0.6232 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.005575, allocations: 0 / 0.6232 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.005589, allocations: 4 kB / 0.6232 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.03e-05/0.005659, allocations: 16.23 kB / 0.6232 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.005664, allocations: 0 / 0.6232 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.431e-05/0.005698, allocations: 15.92 kB / 0.6232 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.005706, allocations: 4 kB / 0.6232 GB, free: 8.969 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (zerOrdHol.firstTrigger,$PRE.zerOrdHol.firstTrigger,zerOrdHol.sampleTrigger,$whenCondition1,$PRE.zerOrdHol.ySample,zerOrdHol.ySample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.392e-05/0.00577, allocations: 124.7 kB / 0.6234 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.498e-06/0.005779, allocations: 15.89 kB / 0.6234 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001598/0.005939, allocations: 106.4 kB / 0.6235 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.005943, allocations: 4 kB / 0.6235 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.005946, allocations: 0 / 0.6235 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.005949, allocations: 0 / 0.6235 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002576/0.006206, allocations: 306.2 kB / 0.6238 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.006208, allocations: 0 / 0.6238 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.143e-05/0.006239, allocations: 15.98 kB / 0.6238 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.006241, allocations: 0 / 0.6238 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.006248, allocations: 0 / 0.6238 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.00625, allocations: 3.984 kB / 0.6238 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.006252, allocations: 4 kB / 0.6238 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.0064, allocations: 203.3 kB / 0.624 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-06/0.006405, allocations: 192 / 0.624 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.00642, allocations: 7.984 kB / 0.624 GB, free: 8.125 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.55e-05/0.006466, allocations: 11.94 kB / 0.624 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.0065, allocations: 16.02 kB / 0.624 GB, free: 8.098 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.00651, allocations: 0 / 0.624 GB, free: 8.098 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.861e-05/0.006539, allocations: 87.27 kB / 0.6241 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006539, allocations: 0 / 0.6241 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001606/0.006699, allocations: 15.94 kB / 0.6241 GB, free: 7.996 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: 4 (zerOrdHol.sampleTrigger,$whenCondition1,zerOrdHol.ySample,zerOrdHol.firstTrigger) * Number of discrete states: 1 (zerOrdHol.ySample) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000115/0.006814, allocations: 95.25 kB / 0.6242 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000151/0.006965, allocations: 72.06 kB / 0.6243 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.006967, allocations: 4.062 kB / 0.6243 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.472e-05/0.007021, allocations: 31.92 kB / 0.6243 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001819/0.007203, allocations: 18.5 kB / 0.6243 GB, free: 7.773 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002689/0.007472, allocations: 158.6 kB / 0.6245 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.17e-05/0.007514, allocations: 63.34 kB / 0.6245 GB, free: 7.504 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.465e-05/0.007539, allocations: 12.5 kB / 0.6246 GB, free: 7.492 MB / 0.5886 GB Notification: Performance of SimCode: time 3.81e-07/0.007539, allocations: 0 / 0.6246 GB, free: 7.492 MB / 0.5886 GB Notification: Performance of Templates: time 0.001681/0.00922, allocations: 0.9251 MB / 0.6255 GB, free: 6.57 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.792020416818559] Failed to read output from testmodel.py, exit status != 0: 0.013895122334361076 0.022606349 0.017692531 Calling exit ...