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.001371/0.001371, allocations: 93.06 kB / 19.65 MB, free: 272 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.001531/0.001531, allocations: 169 kB / 23.02 MB, free: 1.547 MB / 18.57 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.068/1.068, allocations: 177.1 MB / 203.4 MB, free: 5.609 MB / 186.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-545:108: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-545:116: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.7944/0.7944, allocations: 154.6 MB / 414.5 MB, free: 0.6406 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 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: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.5203 GB, free: 2.203 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.669e-05/2.837e-05, allocations: 7.047 kB / 0.5203 GB, free: 2.199 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001424/0.001452, allocations: 0.6726 MB / 0.521 GB, free: 1.551 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.002614, allocations: 1.131 MB / 0.5221 GB, free: 416 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.085e-05/0.002664, allocations: 0 / 0.5221 GB, free: 416 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.869e-05/0.002693, allocations: 3.938 kB / 0.5221 GB, free: 412 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.818e-05/0.002771, allocations: 15.86 kB / 0.5221 GB, free: 396 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003182/0.00309, allocations: 56.31 kB / 0.5221 GB, free: 340 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.577e-05/0.003185, allocations: 67.78 kB / 0.5222 GB, free: 272 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.658e-05/0.003282, allocations: 20.48 kB / 0.5222 GB, free: 252 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.766e-05/0.00336, allocations: 32.47 kB / 0.5222 GB, free: 220 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.002e-05/0.00341, allocations: 28.86 kB / 0.5223 GB, free: 192 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.003429, allocations: 8 kB / 0.5223 GB, free: 184 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.567e-05/0.003495, allocations: 23.98 kB / 0.5223 GB, free: 160 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.201e-05/0.003517, allocations: 17.44 kB / 0.5223 GB, free: 144 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.211e-05/0.003549, allocations: 15.94 kB / 0.5223 GB, free: 128 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.003692, allocations: 71.7 kB / 0.5224 GB, free: 56 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.003694, allocations: 0 / 0.5224 GB, free: 56 kB / 490.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.003695, allocations: 0.625 kB / 0.5224 GB, free: 56 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.127e-06/0.003699, allocations: 0 / 0.5224 GB, free: 56 kB / 490.7 MB 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.0004714/0.00417, allocations: 407 kB / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.004207, allocations: 12.03 kB / 0.5228 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.618e-05/0.004303, allocations: 12.88 kB / 0.5228 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.602e-05/0.004389, allocations: 120.5 kB / 0.5229 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.004409, allocations: 4.938 kB / 0.5229 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.004425, allocations: 4.375 kB / 0.5229 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.004567, allocations: 83.86 kB / 0.523 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.004578, allocations: 192 / 0.523 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.004587, allocations: 1.75 kB / 0.523 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.0046, allocations: 12.34 kB / 0.523 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.677e-05/0.004646, allocations: 11.94 kB / 0.523 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003759/0.005022, allocations: 296.5 kB / 0.5233 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.005131, allocations: 68.22 kB / 0.5234 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.281e-05/0.005163, allocations: 15.69 kB / 0.5234 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.005186, allocations: 4 kB / 0.5234 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.356e-05/0.005279, allocations: 87.56 kB / 0.5235 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.753e-06/0.005281, allocations: 0 / 0.5235 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0002263/0.005507, allocations: 113.8 kB / 0.5236 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.005542, allocations: 67.33 kB / 0.5237 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.974e-05/0.005622, allocations: 169.9 kB / 0.5238 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.005636, allocations: 29.7 kB / 0.5239 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.568e-05/0.005682, allocations: 135.1 kB / 0.524 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.005708, allocations: 36.27 kB / 0.524 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.002e-05/0.005748, allocations: 32.31 kB / 0.5241 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.005858, allocations: 0.4923 MB / 0.5245 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.237e-05/0.00589, allocations: 11.98 kB / 0.5245 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.491e-05/0.005935, allocations: 47.98 kB / 0.5246 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.831e-05/0.006014, allocations: 71.58 kB / 0.5247 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.006016, allocations: 0.6875 kB / 0.5247 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001306/0.006146, allocations: 113.3 kB / 0.5248 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.00616, allocations: 7.938 kB / 0.5248 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.006166, allocations: 4 kB / 0.5248 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.00618, allocations: 0.625 kB / 0.5248 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.436e-05/0.006275, allocations: 24.64 kB / 0.5248 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.00628, allocations: 0 / 0.5248 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.113e-05/0.006311, allocations: 12.84 kB / 0.5248 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.006319, allocations: 4 kB / 0.5248 GB, free: 13.36 MB / 0.4948 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.467e-05/0.006394, allocations: 167.2 kB / 0.525 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.515e-05/0.006409, allocations: 15.88 kB / 0.525 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001564/0.006566, allocations: 110 kB / 0.5251 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.006568, allocations: 0 / 0.5251 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.006571, allocations: 0 / 0.5251 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.006574, allocations: 0 / 0.5251 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.006836, allocations: 369.3 kB / 0.5255 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.006837, allocations: 3.125 kB / 0.5255 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.703e-05/0.006874, allocations: 7.984 kB / 0.5255 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.006876, allocations: 0 / 0.5255 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.006884, allocations: 4 kB / 0.5255 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.006886, allocations: 0 / 0.5255 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.006887, allocations: 0 / 0.5255 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/0.007033, allocations: 255.8 kB / 0.5257 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.598e-06/0.007042, allocations: 7.938 kB / 0.5257 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.007059, allocations: 5.75 kB / 0.5257 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.772e-05/0.007106, allocations: 8 kB / 0.5257 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.675e-05/0.007143, allocations: 3.984 kB / 0.5257 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.007151, allocations: 11.92 kB / 0.5257 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.776e-05/0.007189, allocations: 133.7 kB / 0.5259 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.007189, allocations: 3.938 kB / 0.5259 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001725/0.007361, allocations: 19.94 kB / 0.5259 GB, free: 12.18 MB / 0.4948 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.0001131/0.007474, allocations: 112.8 kB / 0.526 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001407/0.007615, allocations: 62.34 kB / 0.5261 GB, free: 12 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.007617, allocations: 0 / 0.5261 GB, free: 12 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.689e-05/0.007664, allocations: 43.59 kB / 0.5261 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/0.007856, allocations: 15.92 kB / 0.5261 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004664/0.008322, allocations: 164.1 kB / 0.5263 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.709e-05/0.008359, allocations: 59.34 kB / 0.5263 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.539e-05/0.008385, allocations: 4.5 kB / 0.5263 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.016e-05/0.008415, allocations: 21.27 kB / 0.5264 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of SimCode: time 8.11e-07/0.008416, allocations: 2.062 kB / 0.5264 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of Templates: time 0.002758/0.01117, allocations: 1.079 MB / 0.5274 GB, free: 10.64 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.949959972407669]