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.0007424/0.0007424, 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.0008063/0.0008063, allocations: 212.7 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.9175/0.9175, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] 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 0.756/0.756, allocations: 203.5 MB / 0.5046 GB, free: 10.77 MB / 410.7 MB " [Timeout remaining time 179] 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.0009613/0.0009613, allocations: 67.72 kB / 0.719 GB, free: 3.988 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4541/0.455, allocations: 102 MB / 0.8186 GB, free: 1.555 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.00132/0.4563, allocations: 0.6663 MB / 0.8192 GB, free: 1.145 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008595/0.4572, allocations: 1.099 MB / 0.8203 GB, free: 356 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.059e-05/0.4572, allocations: 0 / 0.8203 GB, free: 356 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.086e-05/0.4573, allocations: 4.547 kB / 0.8203 GB, free: 352 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.531e-05/0.4573, allocations: 15.42 kB / 0.8203 GB, free: 340 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002691/0.4576, allocations: 42.25 kB / 0.8204 GB, free: 320 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.4577, allocations: 81.03 kB / 0.8204 GB, free: 276 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.212e-05/0.4578, allocations: 8.828 kB / 0.8205 GB, free: 272 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.463e-05/0.4579, allocations: 29.72 kB / 0.8205 GB, free: 256 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.839e-05/0.4579, allocations: 30.97 kB / 0.8205 GB, free: 244 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.4579, allocations: 3.719 kB / 0.8205 GB, free: 244 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.631e-05/0.458, allocations: 26.2 kB / 0.8205 GB, free: 236 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.289e-05/0.458, allocations: 19.72 kB / 0.8206 GB, free: 224 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.417e-05/0.458, allocations: 25.67 kB / 0.8206 GB, free: 208 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.4582, allocations: 90.03 kB / 0.8207 GB, free: 172 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.4582, allocations: 0.5625 kB / 0.8207 GB, free: 172 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4582, allocations: 0 / 0.8207 GB, free: 172 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.4582, allocations: 4 kB / 0.8207 GB, free: 168 kB / 0.6042 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.0005037/0.4587, allocations: 308.1 kB / 0.821 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.4587, allocations: 10.78 kB / 0.821 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.343e-05/0.4588, allocations: 8.422 kB / 0.821 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.429e-05/0.4589, allocations: 112 kB / 0.8211 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.4589, allocations: 8.625 kB / 0.8211 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.4589, allocations: 4.141 kB / 0.8211 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.4591, allocations: 87.59 kB / 0.8212 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.4591, allocations: 4.125 kB / 0.8212 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.4591, allocations: 8.641 kB / 0.8212 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.4591, allocations: 1.25 kB / 0.8212 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.4592, allocations: 53.2 kB / 0.8213 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003764/0.4596, allocations: 241.5 kB / 0.8215 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.4597, allocations: 69.95 kB / 0.8215 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.678e-05/0.4598, allocations: 51.25 kB / 0.8216 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.4598, allocations: 0.5625 kB / 0.8216 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001424/0.4599, allocations: 88 kB / 0.8217 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.4599, allocations: 0 / 0.8217 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0003171/0.4603, allocations: 174.7 kB / 0.8218 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.4603, allocations: 59.08 kB / 0.8219 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.432e-05/0.4604, allocations: 107.2 kB / 0.822 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.4604, allocations: 33.45 kB / 0.822 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.025e-05/0.4604, allocations: 84 kB / 0.8221 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.4604, allocations: 33.62 kB / 0.8222 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.907e-05/0.4605, allocations: 33.75 kB / 0.8222 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.638e-05/0.4606, allocations: 317.1 kB / 0.8225 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.968e-05/0.4606, allocations: 44.33 kB / 0.8225 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.039e-05/0.4607, allocations: 64.08 kB / 0.8226 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.4609, allocations: 103.2 kB / 0.8227 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4609, allocations: 0 / 0.8227 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001852/0.461, allocations: 142.2 kB / 0.8228 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.4611, allocations: 5.75 kB / 0.8228 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.4611, allocations: 0 / 0.8228 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.4611, allocations: 8.344 kB / 0.8228 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.101e-05/0.4612, allocations: 20.84 kB / 0.8229 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.4612, allocations: 1.625 kB / 0.8229 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.858e-05/0.4612, allocations: 20.28 kB / 0.8229 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.4612, allocations: 3.781 kB / 0.8229 GB, free: 14.4 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 7.598e-05/0.4613, allocations: 133 kB / 0.823 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.967e-06/0.4613, allocations: 8.594 kB / 0.823 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002256/0.4615, allocations: 146.2 kB / 0.8232 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.4615, allocations: 4 kB / 0.8232 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.4615, allocations: 0 / 0.8232 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4615, allocations: 0.7031 kB / 0.8232 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003026/0.4618, allocations: 343.2 kB / 0.8235 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.4618, allocations: 10.92 kB / 0.8235 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.132e-05/0.4619, allocations: 7.422 kB / 0.8235 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.4619, allocations: 3.594 kB / 0.8235 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.4619, allocations: 0 / 0.8235 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4619, allocations: 4.25 kB / 0.8235 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4619, allocations: 0 / 0.8235 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001895/0.4621, allocations: 249.2 kB / 0.8238 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.557e-06/0.4621, allocations: 14.73 kB / 0.8238 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.4621, allocations: 4.625 kB / 0.8238 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.05e-05/0.4621, allocations: 8.141 kB / 0.8238 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.149e-05/0.4622, allocations: 5.969 kB / 0.8238 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.4622, allocations: 6.781 kB / 0.8238 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.83e-05/0.4622, allocations: 83.77 kB / 0.8239 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4622, allocations: 4 kB / 0.8239 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001707/0.4624, allocations: 19.03 kB / 0.8239 GB, free: 13.64 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 0.0001023/0.4625, allocations: 103.5 kB / 0.824 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001853/0.4627, allocations: 97.94 kB / 0.8241 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.4627, allocations: 1.219 kB / 0.8241 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.777e-05/0.4627, allocations: 45.55 kB / 0.8241 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001819/0.4629, allocations: 16.41 kB / 0.8241 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002951/0.4632, allocations: 188.2 kB / 0.8243 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.95e-05/0.4633, allocations: 73.89 kB / 0.8244 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.732e-05/0.4633, allocations: 17.42 kB / 0.8244 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of SimCode: time 2.61e-07/0.4633, allocations: 0 / 0.8244 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of Templates: time 0.002001/0.4653, allocations: 1.11 MB / 0.8255 GB, free: 13.16 MB / 0.6198 GB " [Timeout remaining time 660] 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: 5.655402209144086] Failed to read output from testmodel.py, exit status != 0: 0.470775187946856 0.480449642 0.02039386 Calling exit ...