Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.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.00203/0.00203, allocations: 83.03 kB / 19.18 MB, free: 2.516 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.002364/0.002364, allocations: 163.1 kB / 22.46 MB, free: 5.375 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.538/1.538, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.244/1.244, allocations: 154.6 MB / 413.7 MB, free: 5.285 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.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.815e-06/2.815e-06, allocations: 0 / 0.6185 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.597e-05/3.878e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.002334/0.002373, allocations: 0.66 MB / 0.6191 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002106/0.004478, allocations: 1.108 MB / 0.6202 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.494e-05/0.004563, allocations: 3.938 kB / 0.6202 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.451e-05/0.004598, allocations: 3.938 kB / 0.6202 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.586e-05/0.004684, allocations: 7.922 kB / 0.6202 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004081/0.005092, allocations: 51.75 kB / 0.6203 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.005259, allocations: 75.77 kB / 0.6204 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.005375, allocations: 8 kB / 0.6204 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.005522, allocations: 35.97 kB / 0.6204 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.005629, allocations: 31.89 kB / 0.6204 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.77e-05/0.005657, allocations: 4 kB / 0.6204 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.00576, allocations: 27.92 kB / 0.6205 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.567e-05/0.005796, allocations: 15.97 kB / 0.6205 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.916e-05/0.005845, allocations: 19.92 kB / 0.6205 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002188/0.006064, allocations: 87.72 kB / 0.6206 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.00607, allocations: 4 kB / 0.6206 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.092e-06/0.006071, allocations: 0 / 0.6206 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.006077, allocations: 4 kB / 0.6206 GB, free: 2.512 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008199/0.006897, allocations: 306.1 kB / 0.6209 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 7.537e-05/0.006973, allocations: 9.469 kB / 0.6209 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000182/0.007155, allocations: 8.891 kB / 0.6209 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.007298, allocations: 121.7 kB / 0.621 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.513e-05/0.007333, allocations: 4.375 kB / 0.621 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.007353, allocations: 8.375 kB / 0.621 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.007611, allocations: 78.2 kB / 0.6211 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.007624, allocations: 4.188 kB / 0.6211 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.00764, allocations: 4.375 kB / 0.6211 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.007646, allocations: 384 / 0.6211 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002232/0.007869, allocations: 59.83 kB / 0.6212 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006214/0.00849, allocations: 244.4 kB / 0.6214 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002278/0.008718, allocations: 70.55 kB / 0.6215 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.00884, allocations: 44.83 kB / 0.6215 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.008868, allocations: 0 / 0.6215 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002919/0.00916, allocations: 99.42 kB / 0.6216 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/0.009161, allocations: 0 / 0.6216 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.0005915/0.009753, allocations: 177.4 kB / 0.6218 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.545e-05/0.009818, allocations: 55.41 kB / 0.6218 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.009938, allocations: 109.8 kB / 0.6219 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/0.009971, allocations: 29.7 kB / 0.622 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.166e-05/0.01004, allocations: 88.38 kB / 0.622 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.4e-05/0.01012, allocations: 27.78 kB / 0.6221 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.435e-05/0.01018, allocations: 29.72 kB / 0.6221 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002002/0.01038, allocations: 318.8 kB / 0.6224 GB, free: 492 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.01052, allocations: 35.97 kB / 0.6224 GB, free: 456 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001614/0.01068, allocations: 65.08 kB / 0.6225 GB, free: 384 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000259/0.01094, allocations: 106.5 kB / 0.6226 GB, free: 268 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.01094, allocations: 0 / 0.6226 GB, free: 268 kB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003449/0.01128, allocations: 144.4 kB / 0.6227 GB, free: 120 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.01131, allocations: 11.94 kB / 0.6228 GB, free: 108 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.01131, allocations: 0 / 0.6228 GB, free: 108 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.01133, allocations: 0 / 0.6228 GB, free: 108 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.01148, allocations: 32.03 kB / 0.6228 GB, free: 76 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.01149, allocations: 3.938 kB / 0.6228 GB, free: 72 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.629e-05/0.01157, allocations: 15.89 kB / 0.6228 GB, free: 56 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.01159, allocations: 8 kB / 0.6228 GB, free: 48 kB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 (firOrdHol.firstTrigger,$PRE.firOrdHol.firstTrigger,firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.c,$PRE.firOrdHol.c,firOrdHol.pre_uSample,$PRE.firOrdHol.pre_uSample,firOrdHol.uSample,$PRE.firOrdHol.uSample,firOrdHol.tSample,$PRE.firOrdHol.tSample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 0.000172/0.01176, allocations: 122.8 kB / 0.6229 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.01179, allocations: 11.89 kB / 0.6229 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004199/0.01221, allocations: 142 kB / 0.6231 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.01222, allocations: 8 kB / 0.6231 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.01222, allocations: 0 / 0.6231 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.01223, allocations: 0 / 0.6231 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000639/0.01287, allocations: 350.5 kB / 0.6234 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.01287, allocations: 352 / 0.6234 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.05e-05/0.01294, allocations: 15.92 kB / 0.6234 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.01295, allocations: 4 kB / 0.6234 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.01296, allocations: 4 kB / 0.6234 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.01296, allocations: 0 / 0.6234 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01296, allocations: 7.938 kB / 0.6234 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004133/0.01338, allocations: 243.3 kB / 0.6237 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.767e-05/0.01339, allocations: 11.89 kB / 0.6237 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.01342, allocations: 4 kB / 0.6237 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.01353, allocations: 7.984 kB / 0.6237 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.54e-05/0.01358, allocations: 7.984 kB / 0.6237 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.01359, allocations: 7.938 kB / 0.6237 GB, free: 15.05 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.135e-05/0.01366, allocations: 83.28 kB / 0.6238 GB, free: 14.96 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01366, allocations: 4 kB / 0.6238 GB, free: 14.96 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000267/0.01393, allocations: 19.98 kB / 0.6238 GB, free: 14.94 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.firstTrigger,firOrdHol.tSample,firOrdHol.uSample,firOrdHol.pre_uSample,firOrdHol.c) * Number of discrete states: 2 (firOrdHol.uSample,firOrdHol.c) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0002154/0.01415, allocations: 105.6 kB / 0.6239 GB, free: 14.83 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003482/0.01449, allocations: 91.88 kB / 0.624 GB, free: 14.74 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.0145, allocations: 0 / 0.624 GB, free: 14.74 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.01464, allocations: 43.91 kB / 0.624 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.01493, allocations: 20.05 kB / 0.6241 GB, free: 14.68 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004581/0.01539, allocations: 157.5 kB / 0.6242 GB, free: 14.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.854e-05/0.01546, allocations: 71.33 kB / 0.6243 GB, free: 14.41 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.354e-05/0.0155, allocations: 4.781 kB / 0.6243 GB, free: 14.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.55e-05/0.01553, allocations: 12.5 kB / 0.6243 GB, free: 14.39 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.01553, allocations: 0 / 0.6243 GB, free: 14.39 MB / 0.545 GB Notification: Performance of Templates: time 0.004707/0.02024, allocations: 1.081 MB / 0.6254 GB, free: 13.34 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.224943194538355] Failed to read output from testmodel.py, exit status != 0: 0.030211176723241806 0.045385978 0.035971981 Calling exit ...