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.001525/0.001525, allocations: 93.06 kB / 19.65 MB, free: 276 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.001579/0.001579, allocations: 169 kB / 23.02 MB, free: 1.551 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.083/1.083, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.8572/0.8572, allocations: 154.6 MB / 414.5 MB, free: 0.6328 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.995e-06/2.995e-06, allocations: 5.312 kB / 0.5203 GB, free: 2.223 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.355e-05/2.655e-05, allocations: 5.594 kB / 0.5203 GB, free: 2.219 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.001247/0.001274, allocations: 0.6575 MB / 0.5209 GB, free: 1.582 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.002346, allocations: 1.129 MB / 0.522 GB, free: 452 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.946e-05/0.002395, allocations: 0 / 0.522 GB, free: 452 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.675e-05/0.002432, allocations: 3.938 kB / 0.522 GB, free: 448 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.421e-05/0.002516, allocations: 16.89 kB / 0.5221 GB, free: 432 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003272/0.002843, allocations: 43.77 kB / 0.5221 GB, free: 388 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.002948, allocations: 49.61 kB / 0.5222 GB, free: 340 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.003066, allocations: 11.98 kB / 0.5222 GB, free: 328 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.786e-05/0.003154, allocations: 31.91 kB / 0.5222 GB, free: 296 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.147e-05/0.003205, allocations: 19.97 kB / 0.5222 GB, free: 276 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.003225, allocations: 4.562 kB / 0.5222 GB, free: 272 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.783e-05/0.003293, allocations: 19.92 kB / 0.5222 GB, free: 252 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.432e-05/0.003317, allocations: 13.55 kB / 0.5222 GB, free: 240 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.33e-05/0.00335, allocations: 19.92 kB / 0.5223 GB, free: 220 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.003502, allocations: 51.81 kB / 0.5223 GB, free: 168 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.003504, allocations: 0 / 0.5223 GB, free: 168 kB / 490.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.003505, allocations: 1.031 kB / 0.5223 GB, free: 168 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.003509, allocations: 0 / 0.5223 GB, free: 168 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005742/0.004084, allocations: 393.7 kB / 0.5227 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.004129, allocations: 8.031 kB / 0.5227 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.004253, allocations: 13.45 kB / 0.5227 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.004363, allocations: 116.5 kB / 0.5228 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.004382, allocations: 2 kB / 0.5228 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.004399, allocations: 8.375 kB / 0.5228 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.004548, allocations: 70.92 kB / 0.5229 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.004559, allocations: 192 / 0.5229 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.004571, allocations: 5.562 kB / 0.5229 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.188e-06/0.00458, allocations: 384 / 0.5229 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.22e-05/0.004622, allocations: 15.92 kB / 0.5229 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003473/0.00497, allocations: 268.5 kB / 0.5232 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.339e-05/0.005063, allocations: 48.17 kB / 0.5232 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.943e-05/0.005093, allocations: 19.8 kB / 0.5232 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.005115, allocations: 4 kB / 0.5232 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.151e-05/0.005196, allocations: 69.69 kB / 0.5233 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.005197, allocations: 0 / 0.5233 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0001894/0.005387, allocations: 86.3 kB / 0.5234 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.005424, allocations: 52.44 kB / 0.5234 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.585e-05/0.00551, allocations: 169.9 kB / 0.5236 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.00552, allocations: 25.7 kB / 0.5236 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.731e-05/0.005568, allocations: 135.5 kB / 0.5238 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.005585, allocations: 11.91 kB / 0.5238 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.005621, allocations: 36.11 kB / 0.5238 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.00574, allocations: 492.1 kB / 0.5243 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.537e-05/0.005765, allocations: 23.14 kB / 0.5243 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.634e-05/0.005812, allocations: 54.42 kB / 0.5244 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.673e-05/0.005888, allocations: 74.31 kB / 0.5244 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.005891, allocations: 0 / 0.5244 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001083/0.005999, allocations: 82.44 kB / 0.5245 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.006012, allocations: 12.5 kB / 0.5245 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.006017, allocations: 0 / 0.5245 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.006033, allocations: 4.938 kB / 0.5245 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.495e-05/0.006108, allocations: 15.92 kB / 0.5245 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.006114, allocations: 5.594 kB / 0.5245 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.777e-05/0.006142, allocations: 8 kB / 0.5245 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.006151, allocations: 4 kB / 0.5245 GB, free: 13.64 MB / 0.4948 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 7.389e-05/0.006225, allocations: 166.5 kB / 0.5247 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.359e-05/0.006238, allocations: 16.84 kB / 0.5247 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.006352, allocations: 74.05 kB / 0.5248 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.006354, allocations: 1.531 kB / 0.5248 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.006357, allocations: 0 / 0.5248 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.006361, allocations: 0 / 0.5248 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.006591, allocations: 325.3 kB / 0.5251 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.006592, allocations: 2.75 kB / 0.5251 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.57e-05/0.006628, allocations: 11.98 kB / 0.5251 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.00663, allocations: 0 / 0.5251 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.006637, allocations: 256 / 0.5251 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.006638, allocations: 0 / 0.5251 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.00664, allocations: 4 kB / 0.5251 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001126/0.006753, allocations: 227.8 kB / 0.5253 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-06/0.00676, allocations: 7.984 kB / 0.5253 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.006775, allocations: 2.125 kB / 0.5254 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.336e-05/0.006818, allocations: 4 kB / 0.5254 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/0.006855, allocations: 7.922 kB / 0.5254 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.006868, allocations: 8 kB / 0.5254 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.63e-05/0.006904, allocations: 127.2 kB / 0.5255 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.006904, allocations: 0.9375 kB / 0.5255 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001594/0.007064, allocations: 19.94 kB / 0.5255 GB, free: 12.58 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: 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 0.000105/0.007169, allocations: 95.97 kB / 0.5256 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001055/0.007274, allocations: 51.64 kB / 0.5257 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.007276, allocations: 0 / 0.5257 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.291e-05/0.007309, allocations: 19.69 kB / 0.5257 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.007507, allocations: 19.95 kB / 0.5257 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004463/0.007954, allocations: 157.7 kB / 0.5258 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.326e-05/0.007987, allocations: 55.36 kB / 0.5259 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.26e-05/0.00801, allocations: 15.03 kB / 0.5259 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.48e-05/0.008034, allocations: 12.5 kB / 0.5259 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of SimCode: time 7.02e-07/0.008035, allocations: 0 / 0.5259 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of Templates: time 0.002568/0.0106, allocations: 0.872 MB / 0.5268 GB, free: 11.29 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.979832151439041]