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.0007861/0.0007861, allocations: 96.38 kB / 19.7 MB, free: 448 kB / 13.93 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: 211.2 kB / 23 MB, free: 2.977 MB / 13.93 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.8206/0.8206, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.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.7235/0.7235, allocations: 203.8 MB / 0.5049 GB, free: 10.46 MB / 410.7 MB " [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.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.0008474/0.0008474, allocations: 69.84 kB / 0.7194 GB, free: 3.574 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.379, allocations: 102 MB / 0.819 GB, free: 1.336 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001212/0.3803, allocations: 0.6591 MB / 0.8196 GB, free: 0.9258 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007576/0.381, allocations: 1.109 MB / 0.8207 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.97e-05/0.3811, allocations: 1.094 kB / 0.8207 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.02e-05/0.3811, allocations: 3.938 kB / 0.8207 GB, free: 120 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.345e-05/0.3811, allocations: 10.28 kB / 0.8207 GB, free: 112 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002344/0.3814, allocations: 50.48 kB / 0.8208 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.765e-05/0.3815, allocations: 72.02 kB / 0.8209 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.859e-05/0.3815, allocations: 10.44 kB / 0.8209 GB, free: 44 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.68e-05/0.3816, allocations: 30.5 kB / 0.8209 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.664e-05/0.3816, allocations: 34.06 kB / 0.8209 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.3817, allocations: 6.938 kB / 0.8209 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.179e-05/0.3817, allocations: 20.39 kB / 0.8209 GB, free: 8 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.763e-05/0.3817, allocations: 21.81 kB / 0.821 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.136e-05/0.3818, allocations: 26.25 kB / 0.821 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.3819, allocations: 83.62 kB / 0.8211 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.3819, allocations: 0 / 0.8211 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3819, allocations: 0 / 0.8211 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.3819, allocations: 0 / 0.8211 GB, free: 15.95 MB / 0.6198 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.000439/0.3824, allocations: 316.2 kB / 0.8214 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.3824, allocations: 9.844 kB / 0.8214 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.962e-05/0.3825, allocations: 9.609 kB / 0.8214 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.509e-05/0.3825, allocations: 115.4 kB / 0.8215 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.3826, allocations: 9.641 kB / 0.8215 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.3826, allocations: 5.875 kB / 0.8215 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.3827, allocations: 79.73 kB / 0.8216 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.3827, allocations: 192 / 0.8216 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.3827, allocations: 10.64 kB / 0.8216 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3827, allocations: 5.688 kB / 0.8216 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.3828, allocations: 54.81 kB / 0.8217 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003377/0.3832, allocations: 247.2 kB / 0.8219 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.3833, allocations: 69.56 kB / 0.822 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.022e-05/0.3834, allocations: 42.95 kB / 0.822 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.3834, allocations: 3.172 kB / 0.822 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001302/0.3835, allocations: 94.31 kB / 0.8221 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.3835, allocations: 0 / 0.8221 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.000291/0.3838, allocations: 172 kB / 0.8223 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.3838, allocations: 59.14 kB / 0.8223 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002991/0.3841, allocations: 105 kB / 0.8224 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.3841, allocations: 35.06 kB / 0.8225 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.256e-05/0.3842, allocations: 82.53 kB / 0.8225 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.3842, allocations: 29.44 kB / 0.8226 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.564e-05/0.3842, allocations: 36.3 kB / 0.8226 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.653e-05/0.3843, allocations: 318.3 kB / 0.8229 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.131e-05/0.3844, allocations: 41.39 kB / 0.8229 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.17e-05/0.3844, allocations: 62.88 kB / 0.823 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.3846, allocations: 106.6 kB / 0.8231 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3846, allocations: 1.281 kB / 0.8231 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000172/0.3847, allocations: 145.8 kB / 0.8232 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.3848, allocations: 8.5 kB / 0.8232 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3848, allocations: 256 / 0.8232 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.3848, allocations: 2.625 kB / 0.8233 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.502e-05/0.3848, allocations: 27.72 kB / 0.8233 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.3848, allocations: 0.9688 kB / 0.8233 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.465e-05/0.3849, allocations: 23.73 kB / 0.8233 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.3849, allocations: 4.047 kB / 0.8233 GB, free: 14.17 MB / 0.6198 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 6.324e-05/0.385, allocations: 121.4 kB / 0.8234 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.137e-06/0.385, allocations: 10.67 kB / 0.8234 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001925/0.3852, allocations: 144.6 kB / 0.8236 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3852, allocations: 1.188 kB / 0.8236 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3852, allocations: 1.094 kB / 0.8236 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3852, allocations: 1.031 kB / 0.8236 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002732/0.3854, allocations: 354 kB / 0.8239 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3854, allocations: 0 / 0.8239 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.159e-05/0.3855, allocations: 15.25 kB / 0.8239 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3855, allocations: 0 / 0.8239 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.3855, allocations: 1.125 kB / 0.8239 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.3855, allocations: 1.156 kB / 0.8239 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3855, allocations: 0 / 0.8239 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001756/0.3857, allocations: 255.6 kB / 0.8242 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.584e-06/0.3857, allocations: 12.45 kB / 0.8242 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.3857, allocations: 5.25 kB / 0.8242 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.738e-05/0.3857, allocations: 7.812 kB / 0.8242 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.174e-05/0.3858, allocations: 11.69 kB / 0.8242 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.3858, allocations: 3.328 kB / 0.8242 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.621e-05/0.3858, allocations: 85.44 kB / 0.8243 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.3858, allocations: 0 / 0.8243 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001603/0.3859, allocations: 20.12 kB / 0.8243 GB, free: 13.41 MB / 0.6198 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 9.197e-05/0.386, allocations: 104.1 kB / 0.8244 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001789/0.3862, allocations: 98.17 kB / 0.8245 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3862, allocations: 0 / 0.8245 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.281e-05/0.3863, allocations: 45.75 kB / 0.8245 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001718/0.3865, allocations: 10.7 kB / 0.8246 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002661/0.3867, allocations: 183.6 kB / 0.8247 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.377e-05/0.3868, allocations: 74.08 kB / 0.8248 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.363e-05/0.3868, allocations: 13.84 kB / 0.8248 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of SimCode: time 5.01e-07/0.3868, allocations: 0 / 0.8248 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of Templates: time 0.001923/0.3887, allocations: 1.12 MB / 0.8259 GB, free: 12.94 MB / 0.6198 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: 5.154881888069212] Failed to read output from testmodel.py, exit status != 0: 0.393528588116169 0.40175609 0.018237667000000003 Calling exit ...