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.001748/0.001748, allocations: 74.42 kB / 19.18 MB, free: 2.371 MB / 14.72 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.002247/0.002247, allocations: 170.1 kB / 22.45 MB, free: 4.984 MB / 14.72 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.487/1.487, allocations: 177.2 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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 1.222/1.222, allocations: 154.7 MB / 413.9 MB, free: 5.18 MB / 382.1 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 178] 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.315e-06/2.315e-06, allocations: 0 / 0.6187 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.179e-05/3.41e-05, allocations: 10.16 kB / 0.6187 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.0022/0.002234, allocations: 0.6612 MB / 0.6194 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002001/0.004235, allocations: 1.092 MB / 0.6204 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.148e-05/0.004296, allocations: 4 kB / 0.6204 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.583e-05/0.004332, allocations: 7.922 kB / 0.6204 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.208e-05/0.004424, allocations: 7.938 kB / 0.6204 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004106/0.004835, allocations: 47.7 kB / 0.6205 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.00498, allocations: 59.83 kB / 0.6205 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.005091, allocations: 4 kB / 0.6206 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.005233, allocations: 31.97 kB / 0.6206 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.659e-05/0.0053, allocations: 19.91 kB / 0.6206 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.005323, allocations: 8 kB / 0.6206 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.219e-05/0.005406, allocations: 23.92 kB / 0.6206 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.992e-05/0.005435, allocations: 7.984 kB / 0.6206 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.485e-05/0.00548, allocations: 19.92 kB / 0.6207 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.005681, allocations: 63.83 kB / 0.6207 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.005683, allocations: 0 / 0.6207 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.32e-07/0.005684, allocations: 0 / 0.6207 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.005691, allocations: 0 / 0.6207 GB, free: 2.539 MB / 0.5294 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.0007193/0.00641, allocations: 298.1 kB / 0.621 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.00646, allocations: 17.41 kB / 0.621 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/0.006584, allocations: 4.938 kB / 0.621 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.006731, allocations: 113.8 kB / 0.6211 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.006756, allocations: 4.375 kB / 0.6211 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.006776, allocations: 384 / 0.6211 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002685/0.007045, allocations: 70.16 kB / 0.6212 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.007058, allocations: 192 / 0.6212 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.007072, allocations: 4.312 kB / 0.6212 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.007079, allocations: 4.375 kB / 0.6212 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001932/0.007273, allocations: 47.89 kB / 0.6213 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005361/0.007809, allocations: 220.5 kB / 0.6215 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.008004, allocations: 54.48 kB / 0.6215 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.008108, allocations: 36.95 kB / 0.6216 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.008136, allocations: 0 / 0.6216 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002539/0.00839, allocations: 79.31 kB / 0.6216 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.008391, allocations: 0 / 0.6216 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0004707/0.008862, allocations: 129.5 kB / 0.6218 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/0.008916, allocations: 51.41 kB / 0.6218 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.009061, allocations: 101.9 kB / 0.6219 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.009085, allocations: 25.7 kB / 0.6219 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.829e-05/0.009153, allocations: 92.2 kB / 0.622 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/0.009198, allocations: 19.84 kB / 0.622 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.948e-05/0.009258, allocations: 25.7 kB / 0.6221 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001875/0.009445, allocations: 318.8 kB / 0.6224 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.009552, allocations: 27.97 kB / 0.6224 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.009683, allocations: 60.27 kB / 0.6224 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002341/0.009917, allocations: 92.19 kB / 0.6225 GB, free: 492 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.00992, allocations: 0 / 0.6225 GB, free: 492 kB / 0.5294 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002907/0.01021, allocations: 117.5 kB / 0.6226 GB, free: 368 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.01024, allocations: 17.95 kB / 0.6227 GB, free: 352 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.01024, allocations: 0 / 0.6227 GB, free: 352 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.01026, allocations: 0 / 0.6227 GB, free: 352 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.0104, allocations: 27.92 kB / 0.6227 GB, free: 324 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.01041, allocations: 0 / 0.6227 GB, free: 324 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.424e-05/0.01048, allocations: 8.188 kB / 0.6227 GB, free: 316 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.0105, allocations: 12.12 kB / 0.6227 GB, free: 304 kB / 0.5294 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 0.0001343/0.01063, allocations: 122.8 kB / 0.6228 GB, free: 172 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.007e-05/0.01065, allocations: 7.938 kB / 0.6228 GB, free: 164 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003272/0.01098, allocations: 106 kB / 0.6229 GB, free: 48 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.01098, allocations: 4 kB / 0.6229 GB, free: 44 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.01099, allocations: 0 / 0.6229 GB, free: 44 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.011, allocations: 0 / 0.6229 GB, free: 44 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006118/0.01161, allocations: 310.1 kB / 0.6232 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.01161, allocations: 192 / 0.6232 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.679e-05/0.01168, allocations: 11.98 kB / 0.6232 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.01168, allocations: 3.938 kB / 0.6233 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.0117, allocations: 0 / 0.6233 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.0117, allocations: 3.938 kB / 0.6233 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.0117, allocations: 0 / 0.6233 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004126/0.01212, allocations: 199.9 kB / 0.6234 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.503e-05/0.01213, allocations: 7.953 kB / 0.6235 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.01216, allocations: 4 kB / 0.6235 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.01227, allocations: 11.98 kB / 0.6235 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.069e-05/0.01233, allocations: 3.984 kB / 0.6235 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.01235, allocations: 4 kB / 0.6235 GB, free: 15.44 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.997e-05/0.01244, allocations: 83.28 kB / 0.6236 GB, free: 15.36 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01244, allocations: 0 / 0.6236 GB, free: 15.36 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003061/0.01274, allocations: 15.94 kB / 0.6236 GB, free: 15.34 MB / 0.545 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.0002725/0.01301, allocations: 99.23 kB / 0.6237 GB, free: 15.24 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003554/0.01337, allocations: 75.88 kB / 0.6237 GB, free: 15.16 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.01337, allocations: 0 / 0.6237 GB, free: 15.16 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.0135, allocations: 35.98 kB / 0.6238 GB, free: 15.13 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.01385, allocations: 12.09 kB / 0.6238 GB, free: 15.12 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006231/0.01448, allocations: 144.7 kB / 0.6239 GB, free: 14.95 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/0.01461, allocations: 67.59 kB / 0.624 GB, free: 14.86 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.307e-05/0.01467, allocations: 11.73 kB / 0.624 GB, free: 14.85 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.045e-05/0.01472, allocations: 12.5 kB / 0.624 GB, free: 14.84 MB / 0.545 GB Notification: Performance of SimCode: time 1.233e-06/0.01472, allocations: 0 / 0.624 GB, free: 14.84 MB / 0.545 GB Notification: Performance of Templates: time 0.005076/0.0198, allocations: 0.8731 MB / 0.6249 GB, free: 13.99 MB / 0.545 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: 5.8361299224197865] Failed to read output from testmodel.py, exit status != 0: 0.03151279501616955 0.053592150000000005 0.043102255000000006 Calling exit ...