Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.002114/0.002114, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.003357/0.003357, allocations: 211.8 kB / 22.24 MB, free: 5.242 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.6/1.6, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.298/1.298, allocations: 203.5 MB / 0.5038 GB, free: 4.922 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_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_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.002071/0.002071, allocations: 71.88 kB / 0.7183 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7741/0.7762, allocations: 102 MB / 0.8178 GB, free: 29.09 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001861/0.7781, allocations: 0.6673 MB / 0.8185 GB, free: 28.71 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001334/0.7794, allocations: 1.102 MB / 0.8196 GB, free: 27.91 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.324e-05/0.7795, allocations: 0.7812 kB / 0.8196 GB, free: 27.91 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.027e-05/0.7795, allocations: 3.938 kB / 0.8196 GB, free: 27.91 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 6.411e-05/0.7795, allocations: 14.83 kB / 0.8196 GB, free: 27.9 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003054/0.7799, allocations: 50.45 kB / 0.8196 GB, free: 27.87 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.78, allocations: 69.77 kB / 0.8197 GB, free: 27.84 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 9.476e-05/0.7801, allocations: 7.016 kB / 0.8197 GB, free: 27.84 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 7.208e-05/0.7801, allocations: 28.77 kB / 0.8197 GB, free: 27.83 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 6.898e-05/0.7802, allocations: 33.05 kB / 0.8198 GB, free: 27.82 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.7802, allocations: 6.625 kB / 0.8198 GB, free: 27.82 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 8.489e-05/0.7803, allocations: 26.47 kB / 0.8198 GB, free: 27.81 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.628e-05/0.7803, allocations: 17.36 kB / 0.8198 GB, free: 27.8 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 4.111e-05/0.7804, allocations: 22.86 kB / 0.8198 GB, free: 27.79 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.7805, allocations: 80.77 kB / 0.8199 GB, free: 27.76 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.7806, allocations: 1.219 kB / 0.8199 GB, free: 27.76 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7806, allocations: 0 / 0.8199 GB, free: 27.76 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.7806, allocations: 0 / 0.8199 GB, free: 27.76 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.0005739/0.7811, allocations: 313.5 kB / 0.8202 GB, free: 27.47 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.7812, allocations: 11.16 kB / 0.8202 GB, free: 27.47 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.142e-05/0.7813, allocations: 12.77 kB / 0.8202 GB, free: 27.46 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.943e-05/0.7813, allocations: 112.1 kB / 0.8203 GB, free: 27.34 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.95e-05/0.7814, allocations: 11.92 kB / 0.8203 GB, free: 27.33 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.7814, allocations: 6.703 kB / 0.8203 GB, free: 27.33 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.7816, allocations: 82.52 kB / 0.8204 GB, free: 27.28 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.7816, allocations: 1.281 kB / 0.8204 GB, free: 27.28 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.7817, allocations: 8.688 kB / 0.8204 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.7817, allocations: 2.188 kB / 0.8204 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002109/0.7819, allocations: 54.48 kB / 0.8205 GB, free: 27.26 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004609/0.7823, allocations: 240.3 kB / 0.8207 GB, free: 27.04 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.7825, allocations: 77.17 kB / 0.8208 GB, free: 27 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.7827, allocations: 41.22 kB / 0.8208 GB, free: 26.98 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.477e-05/0.7827, allocations: 3.984 kB / 0.8208 GB, free: 26.98 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002337/0.7829, allocations: 91.17 kB / 0.8209 GB, free: 26.92 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.7829, allocations: 1.438 kB / 0.8209 GB, free: 26.92 MB / 0.6387 GB Notification: Performance of matching and sorting (n=10): time 0.0005621/0.7835, allocations: 173.3 kB / 0.8211 GB, free: 26.85 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.7835, allocations: 60.73 kB / 0.8211 GB, free: 26.78 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.459e-05/0.7836, allocations: 108.9 kB / 0.8213 GB, free: 26.68 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.7836, allocations: 32.7 kB / 0.8213 GB, free: 26.64 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.336e-05/0.7837, allocations: 87.83 kB / 0.8214 GB, free: 26.55 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.7837, allocations: 29.86 kB / 0.8214 GB, free: 26.53 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.319e-05/0.7838, allocations: 36.89 kB / 0.8214 GB, free: 26.5 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.585e-05/0.7838, allocations: 318.8 kB / 0.8217 GB, free: 26.18 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.7839, allocations: 37.58 kB / 0.8218 GB, free: 26.18 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.7841, allocations: 63.5 kB / 0.8218 GB, free: 26.14 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002534/0.7843, allocations: 109.6 kB / 0.8219 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.7843, allocations: 0.5312 kB / 0.8219 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003498/0.7847, allocations: 137.6 kB / 0.8221 GB, free: 26.02 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.7847, allocations: 5.719 kB / 0.8221 GB, free: 26.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.361e-06/0.7847, allocations: 1.156 kB / 0.8221 GB, free: 26.02 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.7847, allocations: 4.578 kB / 0.8221 GB, free: 26.02 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.7849, allocations: 23.69 kB / 0.8221 GB, free: 26.02 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.7849, allocations: 1.594 kB / 0.8221 GB, free: 26.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.338e-05/0.785, allocations: 19.47 kB / 0.8221 GB, free: 26.01 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.785, allocations: 4.656 kB / 0.8221 GB, free: 26.01 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.879e-05/0.7851, allocations: 121.3 kB / 0.8222 GB, free: 25.89 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.108e-05/0.7851, allocations: 16.09 kB / 0.8223 GB, free: 25.88 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004059/0.7855, allocations: 147.9 kB / 0.8224 GB, free: 25.81 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.7855, allocations: 1.25 kB / 0.8224 GB, free: 25.81 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.7855, allocations: 1.156 kB / 0.8224 GB, free: 25.81 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.7855, allocations: 1.234 kB / 0.8224 GB, free: 25.81 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004981/0.786, allocations: 349 kB / 0.8227 GB, free: 25.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.786, allocations: 3.938 kB / 0.8227 GB, free: 25.53 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.141e-05/0.7861, allocations: 15.62 kB / 0.8228 GB, free: 25.53 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.7861, allocations: 2.469 kB / 0.8228 GB, free: 25.53 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.7861, allocations: 3.312 kB / 0.8228 GB, free: 25.53 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.7861, allocations: 0 / 0.8228 GB, free: 25.53 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.7861, allocations: 0 / 0.8228 GB, free: 25.53 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000325/0.7864, allocations: 244.2 kB / 0.823 GB, free: 25.36 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.21e-05/0.7864, allocations: 18.59 kB / 0.823 GB, free: 25.35 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.7865, allocations: 6.891 kB / 0.823 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.7866, allocations: 9.109 kB / 0.823 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.028e-05/0.7866, allocations: 5.234 kB / 0.823 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.7866, allocations: 4.734 kB / 0.823 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.012e-05/0.7867, allocations: 90.34 kB / 0.8231 GB, free: 25.26 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.7867, allocations: 0 / 0.8231 GB, free: 25.26 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002643/0.7869, allocations: 19.66 kB / 0.8231 GB, free: 25.26 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.0001309/0.7871, allocations: 104.2 kB / 0.8232 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003383/0.7874, allocations: 98.39 kB / 0.8233 GB, free: 25.14 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.7874, allocations: 288 / 0.8233 GB, free: 25.14 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.7875, allocations: 49.25 kB / 0.8234 GB, free: 25.12 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.7878, allocations: 13.78 kB / 0.8234 GB, free: 25.12 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003522/0.7882, allocations: 159.9 kB / 0.8235 GB, free: 24.98 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.683e-05/0.7882, allocations: 79.11 kB / 0.8236 GB, free: 24.91 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.627e-05/0.7883, allocations: 6.109 kB / 0.8236 GB, free: 24.91 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.229e-05/0.7883, allocations: 12.22 kB / 0.8236 GB, free: 24.9 MB / 0.6387 GB Notification: Performance of SimCode: time 4e-07/0.7883, allocations: 1.375 kB / 0.8236 GB, free: 24.9 MB / 0.6387 GB Notification: Performance of Templates: time 0.004274/0.7926, allocations: 1.094 MB / 0.8247 GB, free: 24.78 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.166592916473746] Failed to read output from testmodel.py, exit status != 0: 0.8014737218618393 0.814126951 0.030784761 Calling exit ...