Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.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.0006987/0.0006987, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0007251/0.0007251, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.8386/0.8386, allocations: 177.1 MB / 203.5 MB, free: 5.668 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-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.6892/0.6892, allocations: 154.6 MB / 414.5 MB, free: 0.7891 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.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.455e-05/2.684e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.00129/0.001317, allocations: 0.6511 MB / 0.6199 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009373/0.002254, allocations: 1.092 MB / 0.621 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.477e-05/0.002289, allocations: 0 / 0.621 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.49e-05/0.002314, allocations: 3.938 kB / 0.621 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.536e-05/0.002369, allocations: 23.84 kB / 0.621 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.00261, allocations: 47.77 kB / 0.6211 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.96e-05/0.002689, allocations: 43.86 kB / 0.6211 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.759e-05/0.002767, allocations: 11.98 kB / 0.6211 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.348e-05/0.002831, allocations: 23.92 kB / 0.6212 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.18e-05/0.002872, allocations: 27.89 kB / 0.6212 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.002886, allocations: 4 kB / 0.6212 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.226e-05/0.002939, allocations: 19.98 kB / 0.6212 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.908e-05/0.002958, allocations: 11.94 kB / 0.6212 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.452e-05/0.002982, allocations: 15.97 kB / 0.6212 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.003103, allocations: 75.77 kB / 0.6213 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.003105, allocations: 0 / 0.6213 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.042e-06/0.003106, allocations: 0 / 0.6213 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.003109, allocations: 3.938 kB / 0.6213 GB, free: 11.13 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003986/0.003508, allocations: 290.2 kB / 0.6216 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.003542, allocations: 8.031 kB / 0.6216 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.024e-05/0.003612, allocations: 16.86 kB / 0.6216 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.943e-05/0.003681, allocations: 109.7 kB / 0.6217 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.003693, allocations: 4.375 kB / 0.6217 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.003704, allocations: 8.375 kB / 0.6217 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.00384, allocations: 70.16 kB / 0.6218 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.003847, allocations: 192 / 0.6218 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.003857, allocations: 384 / 0.6218 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.00386, allocations: 384 / 0.6218 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.984e-05/0.00396, allocations: 51.88 kB / 0.6218 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003011/0.004261, allocations: 212.5 kB / 0.622 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.616e-05/0.004358, allocations: 62.48 kB / 0.6221 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.794e-05/0.004406, allocations: 24.97 kB / 0.6221 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.004421, allocations: 3.938 kB / 0.6221 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001127/0.004534, allocations: 83.31 kB / 0.6222 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.004535, allocations: 0 / 0.6222 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0002388/0.004774, allocations: 133.6 kB / 0.6223 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.004803, allocations: 55.41 kB / 0.6224 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.841e-05/0.004852, allocations: 105.8 kB / 0.6225 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.004862, allocations: 25.7 kB / 0.6225 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.235e-05/0.004894, allocations: 92.08 kB / 0.6226 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.443e-05/0.004908, allocations: 15.84 kB / 0.6226 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002715/0.00518, allocations: 25.72 kB / 0.6226 GB, free: 9.598 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.719e-05/0.005247, allocations: 314.8 kB / 0.6229 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.336e-05/0.0053, allocations: 31.97 kB / 0.623 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.941e-05/0.00536, allocations: 56.28 kB / 0.623 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.005472, allocations: 92.19 kB / 0.6231 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.005474, allocations: 0 / 0.6231 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001449/0.005619, allocations: 121.5 kB / 0.6232 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.00563, allocations: 7.938 kB / 0.6232 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.005635, allocations: 4 kB / 0.6232 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.906e-06/0.005644, allocations: 256 / 0.6232 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.864e-05/0.005702, allocations: 15.98 kB / 0.6233 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.005708, allocations: 15.92 kB / 0.6233 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.176e-05/0.00574, allocations: 8.188 kB / 0.6233 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.005746, allocations: 4 kB / 0.6233 GB, free: 8.895 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (zerOrdHol.firstTrigger,$PRE.zerOrdHol.firstTrigger,zerOrdHol.sampleTrigger,$whenCondition1,$PRE.zerOrdHol.ySample,zerOrdHol.ySample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 5.605e-05/0.005802, allocations: 128.8 kB / 0.6234 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.005e-06/0.00581, allocations: 11.89 kB / 0.6234 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001519/0.005962, allocations: 102.1 kB / 0.6235 GB, free: 8.641 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.005963, allocations: 3.938 kB / 0.6235 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.005966, allocations: 0 / 0.6235 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.005969, allocations: 48 / 0.6235 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/0.006201, allocations: 306.1 kB / 0.6238 GB, free: 8.301 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.006202, allocations: 0 / 0.6238 GB, free: 8.301 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.586e-05/0.006228, allocations: 12 kB / 0.6238 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.00623, allocations: 4 kB / 0.6238 GB, free: 8.285 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.006236, allocations: 3.984 kB / 0.6238 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.006237, allocations: 0 / 0.6238 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.006238, allocations: 7.875 kB / 0.6238 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/0.006377, allocations: 195.9 kB / 0.624 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-06/0.006384, allocations: 11.92 kB / 0.624 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.006395, allocations: 0 / 0.624 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.759e-05/0.006442, allocations: 11.98 kB / 0.624 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.322e-05/0.006466, allocations: 4 kB / 0.6241 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.006475, allocations: 8 kB / 0.6241 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.465e-05/0.006499, allocations: 83.27 kB / 0.6241 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006499, allocations: 0 / 0.6241 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001557/0.006655, allocations: 16 kB / 0.6242 GB, free: 7.934 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (zerOrdHol.sampleTrigger,$whenCondition1,zerOrdHol.ySample,zerOrdHol.firstTrigger) * Number of discrete states: 1 (zerOrdHol.ySample) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.334e-05/0.006748, allocations: 105.8 kB / 0.6243 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000139/0.006887, allocations: 75.95 kB / 0.6243 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.62e-07/0.006888, allocations: 0 / 0.6243 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.904e-05/0.006947, allocations: 35.91 kB / 0.6244 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/0.007111, allocations: 14.33 kB / 0.6244 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000211/0.007322, allocations: 158.5 kB / 0.6245 GB, free: 7.516 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.953e-05/0.007361, allocations: 67.34 kB / 0.6246 GB, free: 7.43 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.958e-05/0.007381, allocations: 12.75 kB / 0.6246 GB, free: 7.418 MB / 0.5886 GB Notification: Performance of SimCode: time 6.01e-07/0.007381, allocations: 4 kB / 0.6246 GB, free: 7.414 MB / 0.5886 GB Notification: Performance of Templates: time 0.001604/0.008986, allocations: 0.9294 MB / 0.6255 GB, free: 6.496 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.835595833137631] Failed to read output from testmodel.py, exit status != 0: 0.014071900397539139 0.020927994000000002 0.016337904 Calling exit ...