Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001361/0.001361, allocations: 71.77 kB / 20.51 MB, free: 1.125 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.001505/0.001505, allocations: 167.7 kB / 23.76 MB, free: 4.191 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.408/1.408, allocations: 177.2 MB / 204.1 MB, free: 8.898 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9866/0.9866, allocations: 113.9 MB / 374.5 MB, free: 12.87 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") [Timeout 660] "Notification: IBPSA 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.002161/0.002161, allocations: 65.42 kB / 0.555 GB, free: 2.762 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.2011, allocations: 89.14 MB / 0.6421 GB, free: 9.574 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.002815/0.2039, allocations: 0.6426 MB / 0.6427 GB, free: 8.934 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002232/0.2062, allocations: 1.097 MB / 0.6438 GB, free: 7.824 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.247e-05/0.2062, allocations: 7.938 kB / 0.6438 GB, free: 7.816 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.49e-05/0.2062, allocations: 3.938 kB / 0.6438 GB, free: 7.812 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.144e-05/0.2063, allocations: 11.81 kB / 0.6438 GB, free: 7.801 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004093/0.2067, allocations: 43.89 kB / 0.6438 GB, free: 7.758 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.2069, allocations: 47.84 kB / 0.6439 GB, free: 7.711 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.207, allocations: 8 kB / 0.6439 GB, free: 7.703 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.762e-05/0.2071, allocations: 19.92 kB / 0.6439 GB, free: 7.684 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.173e-05/0.2072, allocations: 23.91 kB / 0.6439 GB, free: 7.66 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.2072, allocations: 4 kB / 0.6439 GB, free: 7.656 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.2073, allocations: 19.98 kB / 0.644 GB, free: 7.637 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.403e-05/0.2073, allocations: 15.98 kB / 0.644 GB, free: 7.621 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.423e-05/0.2074, allocations: 23.81 kB / 0.644 GB, free: 7.598 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.2076, allocations: 63.77 kB / 0.6441 GB, free: 7.535 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.2076, allocations: 4 kB / 0.6441 GB, free: 7.531 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2076, allocations: 0 / 0.6441 GB, free: 7.531 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.2076, allocations: 0 / 0.6441 GB, free: 7.531 MB / 0.545 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.0007278/0.2083, allocations: 288.3 kB / 0.6443 GB, free: 7.219 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.2084, allocations: 12.03 kB / 0.6443 GB, free: 7.207 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.2085, allocations: 16.88 kB / 0.6444 GB, free: 7.191 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.2086, allocations: 106.5 kB / 0.6445 GB, free: 7.062 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.2086, allocations: 4.375 kB / 0.6445 GB, free: 7.059 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.2086, allocations: 4.375 kB / 0.6445 GB, free: 7.055 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002717/0.2089, allocations: 70.14 kB / 0.6445 GB, free: 6.98 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.2089, allocations: 4.125 kB / 0.6445 GB, free: 6.977 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.2089, allocations: 7.938 kB / 0.6446 GB, free: 6.969 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.209, allocations: 4 kB / 0.6446 GB, free: 6.965 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002655/0.2092, allocations: 39.95 kB / 0.6446 GB, free: 6.926 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005364/0.2098, allocations: 220.5 kB / 0.6448 GB, free: 6.68 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.21, allocations: 54.48 kB / 0.6449 GB, free: 6.617 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.2101, allocations: 32.91 kB / 0.6449 GB, free: 6.582 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.2102, allocations: 0 / 0.6449 GB, free: 6.582 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002523/0.2104, allocations: 75.38 kB / 0.645 GB, free: 6.496 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.2104, allocations: 0 / 0.645 GB, free: 6.496 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0005968/0.211, allocations: 133.9 kB / 0.6451 GB, free: 6.359 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.2111, allocations: 55.34 kB / 0.6451 GB, free: 6.293 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.2112, allocations: 109.8 kB / 0.6452 GB, free: 6.176 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.2112, allocations: 29.7 kB / 0.6453 GB, free: 6.141 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.556e-05/0.2113, allocations: 80.14 kB / 0.6453 GB, free: 6.059 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.077e-05/0.2113, allocations: 27.78 kB / 0.6454 GB, free: 6.031 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.473e-05/0.2114, allocations: 21.72 kB / 0.6454 GB, free: 6.004 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001918/0.2116, allocations: 318.8 kB / 0.6457 GB, free: 5.684 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.2117, allocations: 27.98 kB / 0.6457 GB, free: 5.656 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001829/0.2119, allocations: 60.2 kB / 0.6458 GB, free: 5.582 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003354/0.2123, allocations: 96.42 kB / 0.6459 GB, free: 5.473 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.2123, allocations: 0 / 0.6459 GB, free: 5.473 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004329/0.2127, allocations: 129.5 kB / 0.646 GB, free: 5.34 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.2127, allocations: 4 kB / 0.646 GB, free: 5.336 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.2127, allocations: 0 / 0.646 GB, free: 5.336 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.2127, allocations: 4 kB / 0.646 GB, free: 5.332 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.2129, allocations: 15.98 kB / 0.646 GB, free: 5.316 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.2129, allocations: 3.938 kB / 0.646 GB, free: 5.312 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.213, allocations: 15.94 kB / 0.646 GB, free: 5.297 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.213, allocations: 8.125 kB / 0.646 GB, free: 5.289 MB / 0.545 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.0001299/0.2132, allocations: 125.1 kB / 0.6462 GB, free: 5.16 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.963e-05/0.2132, allocations: 3.984 kB / 0.6462 GB, free: 5.156 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004083/0.2136, allocations: 106.1 kB / 0.6463 GB, free: 5.047 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.2136, allocations: 0 / 0.6463 GB, free: 5.047 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.2136, allocations: 3.938 kB / 0.6463 GB, free: 5.043 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2136, allocations: 0 / 0.6463 GB, free: 5.043 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006189/0.2142, allocations: 306 kB / 0.6466 GB, free: 4.707 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.2142, allocations: 3.984 kB / 0.6466 GB, free: 4.703 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.458e-05/0.2143, allocations: 12 kB / 0.6466 GB, free: 4.691 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2143, allocations: 0 / 0.6466 GB, free: 4.691 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.2143, allocations: 3.984 kB / 0.6466 GB, free: 4.688 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2143, allocations: 4 kB / 0.6466 GB, free: 4.684 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.2143, allocations: 3.938 kB / 0.6466 GB, free: 4.68 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004404/0.2148, allocations: 195.4 kB / 0.6468 GB, free: 4.473 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.937e-05/0.2148, allocations: 19.88 kB / 0.6468 GB, free: 4.453 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.2148, allocations: 0 / 0.6468 GB, free: 4.453 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.215, allocations: 7.984 kB / 0.6468 GB, free: 4.445 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.871e-05/0.215, allocations: 4 kB / 0.6468 GB, free: 4.441 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.215, allocations: 4 kB / 0.6468 GB, free: 4.438 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.806e-05/0.2151, allocations: 83.27 kB / 0.6469 GB, free: 4.355 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2151, allocations: 4 kB / 0.6469 GB, free: 4.352 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004643/0.2156, allocations: 12 kB / 0.6469 GB, free: 4.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.0001811/0.2158, allocations: 99.25 kB / 0.647 GB, free: 4.234 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003806/0.2161, allocations: 75.81 kB / 0.6471 GB, free: 4.16 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.2161, allocations: 4 kB / 0.6471 GB, free: 4.156 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.2163, allocations: 27.92 kB / 0.6471 GB, free: 4.129 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.2167, allocations: 18.3 kB / 0.6471 GB, free: 4.113 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00042/0.2172, allocations: 138.3 kB / 0.6473 GB, free: 3.949 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.2173, allocations: 75.59 kB / 0.6473 GB, free: 3.855 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.011e-05/0.2173, allocations: 4 kB / 0.6473 GB, free: 3.852 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.022e-05/0.2173, allocations: 12.5 kB / 0.6473 GB, free: 3.836 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.2173, allocations: 0 / 0.6473 GB, free: 3.836 MB / 0.545 GB Notification: Performance of Templates: time 0.00466/0.222, allocations: 0.8666 MB / 0.6482 GB, free: 2.988 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.48134559893515] Failed to read output from testmodel.py, exit status != 0: 0.23143326409626752 0.256834706 0.044269876 Calling exit ...