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.001449/0.001449, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001934/0.001934, allocations: 213.1 kB / 22.25 MB, free: 4.863 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.543/1.543, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.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.317/1.317, allocations: 203.8 MB / 0.5041 GB, free: 4.621 MB / 414.1 MB " [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: 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.002066/0.002066, allocations: 59.91 kB / 0.7186 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6245/0.6265, allocations: 102 MB / 0.8182 GB, free: 28.89 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.002107/0.6286, allocations: 0.6697 MB / 0.8189 GB, free: 28.5 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001463/0.6301, allocations: 1.1 MB / 0.82 GB, free: 27.7 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.734e-05/0.6302, allocations: 1.25 kB / 0.82 GB, free: 27.7 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 2.82e-05/0.6302, allocations: 4.641 kB / 0.82 GB, free: 27.7 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 7.238e-05/0.6303, allocations: 10.34 kB / 0.82 GB, free: 27.69 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003225/0.6306, allocations: 47.27 kB / 0.82 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.000126/0.6307, allocations: 70.73 kB / 0.8201 GB, free: 27.63 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.6308, allocations: 6.109 kB / 0.8201 GB, free: 27.63 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 8.537e-05/0.6309, allocations: 38.91 kB / 0.8201 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 6.733e-05/0.631, allocations: 24.73 kB / 0.8202 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.631, allocations: 6.156 kB / 0.8202 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 8.081e-05/0.6311, allocations: 22.97 kB / 0.8202 GB, free: 27.6 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.943e-05/0.6311, allocations: 22.09 kB / 0.8202 GB, free: 27.59 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.978e-05/0.6311, allocations: 31.58 kB / 0.8202 GB, free: 27.57 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.6313, allocations: 79.25 kB / 0.8203 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.6313, allocations: 3.094 kB / 0.8203 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.754e-06/0.6313, allocations: 1.156 kB / 0.8203 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.6313, allocations: 0 / 0.8203 GB, free: 27.54 MB / 0.6387 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.0006468/0.632, allocations: 308.1 kB / 0.8206 GB, free: 27.26 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.632, allocations: 10.53 kB / 0.8206 GB, free: 27.26 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.6321, allocations: 11.61 kB / 0.8206 GB, free: 27.25 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.255e-05/0.6322, allocations: 113.7 kB / 0.8207 GB, free: 27.12 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.6322, allocations: 12.11 kB / 0.8208 GB, free: 27.11 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.6323, allocations: 6.562 kB / 0.8208 GB, free: 27.11 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/0.6325, allocations: 82.34 kB / 0.8208 GB, free: 27.07 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.6325, allocations: 3.156 kB / 0.8208 GB, free: 27.07 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.6325, allocations: 9.812 kB / 0.8209 GB, free: 27.06 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.6325, allocations: 1.531 kB / 0.8209 GB, free: 27.06 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002249/0.6328, allocations: 54.12 kB / 0.8209 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004597/0.6332, allocations: 247 kB / 0.8211 GB, free: 26.82 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.6334, allocations: 76.11 kB / 0.8212 GB, free: 26.78 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.6336, allocations: 42.61 kB / 0.8213 GB, free: 26.76 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.6336, allocations: 3.328 kB / 0.8213 GB, free: 26.76 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000236/0.6338, allocations: 87.2 kB / 0.8213 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/0.6338, allocations: 0.5625 kB / 0.8213 GB, free: 26.7 MB / 0.6387 GB Notification: Performance of matching and sorting (n=10): time 0.0005358/0.6344, allocations: 174.8 kB / 0.8215 GB, free: 26.63 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.6344, allocations: 60.06 kB / 0.8216 GB, free: 26.56 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.245e-05/0.6345, allocations: 104.7 kB / 0.8217 GB, free: 26.46 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.6345, allocations: 38.08 kB / 0.8217 GB, free: 26.42 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.507e-05/0.6345, allocations: 84.2 kB / 0.8218 GB, free: 26.34 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.6345, allocations: 29.19 kB / 0.8218 GB, free: 26.31 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.286e-05/0.6346, allocations: 32.11 kB / 0.8218 GB, free: 26.29 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.174e-05/0.6347, allocations: 321.4 kB / 0.8221 GB, free: 25.97 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.6348, allocations: 36.34 kB / 0.8222 GB, free: 25.96 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.635, allocations: 62.47 kB / 0.8222 GB, free: 25.93 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002732/0.6352, allocations: 102.5 kB / 0.8223 GB, free: 25.88 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.6353, allocations: 1.062 kB / 0.8223 GB, free: 25.88 MB / 0.6387 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003711/0.6356, allocations: 149 kB / 0.8225 GB, free: 25.81 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.6356, allocations: 4.906 kB / 0.8225 GB, free: 25.81 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.6356, allocations: 1.25 kB / 0.8225 GB, free: 25.81 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.6357, allocations: 4.719 kB / 0.8225 GB, free: 25.81 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.6358, allocations: 20.5 kB / 0.8225 GB, free: 25.81 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.6358, allocations: 1.75 kB / 0.8225 GB, free: 25.81 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.734e-05/0.6359, allocations: 19.97 kB / 0.8225 GB, free: 25.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.6359, allocations: 4.625 kB / 0.8225 GB, free: 25.8 MB / 0.6387 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 7.288e-05/0.636, allocations: 129.3 kB / 0.8227 GB, free: 25.67 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.636, allocations: 6.781 kB / 0.8227 GB, free: 25.66 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003545/0.6363, allocations: 152.8 kB / 0.8228 GB, free: 25.59 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.6363, allocations: 1.344 kB / 0.8228 GB, free: 25.59 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.6363, allocations: 0 / 0.8228 GB, free: 25.59 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.6364, allocations: 0.7969 kB / 0.8228 GB, free: 25.59 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004523/0.6368, allocations: 349.8 kB / 0.8231 GB, free: 25.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.6368, allocations: 0 / 0.8231 GB, free: 25.32 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.833e-05/0.6369, allocations: 13.64 kB / 0.8232 GB, free: 25.32 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.6369, allocations: 0.8438 kB / 0.8232 GB, free: 25.32 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.6369, allocations: 6.078 kB / 0.8232 GB, free: 25.31 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.6369, allocations: 1.188 kB / 0.8232 GB, free: 25.31 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6369, allocations: 0 / 0.8232 GB, free: 25.31 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003357/0.6372, allocations: 247.9 kB / 0.8234 GB, free: 25.14 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.289e-05/0.6372, allocations: 18.73 kB / 0.8234 GB, free: 25.13 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.208e-05/0.6373, allocations: 2.594 kB / 0.8234 GB, free: 25.13 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.6374, allocations: 13.19 kB / 0.8234 GB, free: 25.12 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.123e-05/0.6374, allocations: 5.766 kB / 0.8234 GB, free: 25.12 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.6374, allocations: 7.297 kB / 0.8234 GB, free: 25.12 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 2.916e-05/0.6375, allocations: 82.75 kB / 0.8235 GB, free: 25.05 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.6375, allocations: 0 / 0.8235 GB, free: 25.05 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002572/0.6377, allocations: 20.84 kB / 0.8235 GB, free: 25.04 MB / 0.6387 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.0001286/0.6379, allocations: 106.6 kB / 0.8236 GB, free: 24.95 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003259/0.6382, allocations: 99.64 kB / 0.8237 GB, free: 24.92 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.6382, allocations: 0 / 0.8237 GB, free: 24.92 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.6383, allocations: 45.31 kB / 0.8238 GB, free: 24.91 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.6386, allocations: 11.95 kB / 0.8238 GB, free: 24.91 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003771/0.639, allocations: 160.4 kB / 0.824 GB, free: 24.77 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.933e-05/0.639, allocations: 75.25 kB / 0.824 GB, free: 24.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 5.019e-05/0.6391, allocations: 7.609 kB / 0.824 GB, free: 24.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.419e-05/0.6391, allocations: 11.64 kB / 0.824 GB, free: 24.69 MB / 0.6387 GB Notification: Performance of SimCode: time 2.9e-07/0.6391, allocations: 0 / 0.824 GB, free: 24.69 MB / 0.6387 GB Notification: Performance of Templates: time 0.004327/0.6434, allocations: 1.106 MB / 0.8251 GB, free: 24.55 MB / 0.6387 GB " [Timeout remaining time 659] 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.917717646807432] Failed to read output from testmodel.py, exit status != 0: 0.6522915046662092 0.664796791 0.030737853000000002 Calling exit ...