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.0007254/0.0007254, allocations: 72.5 kB / 19.92 MB, free: 4.633 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.001263/0.001263, 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.8918/0.8918, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.5722/0.5722, allocations: 114 MB / 373.9 MB, free: 8.676 MB / 346.7 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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_ZeroOrderHold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_ZeroOrderHold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.206e-06/3.206e-06, allocations: 3.938 kB / 0.5542 GB, free: 1.711 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.077e-05/2.398e-05, allocations: 6.281 kB / 0.5542 GB, free: 1.703 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.002007/0.002031, allocations: 0.6488 MB / 0.5548 GB, free: 1.055 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.003478, allocations: 1.092 MB / 0.5559 GB, free: 15.95 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.042e-05/0.003528, allocations: 4 kB / 0.5559 GB, free: 15.94 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.118e-05/0.003559, allocations: 7.766 kB / 0.5559 GB, free: 15.94 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.732e-05/0.003626, allocations: 4 kB / 0.5559 GB, free: 15.93 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003346/0.003961, allocations: 47.75 kB / 0.5559 GB, free: 15.89 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.004072, allocations: 55.78 kB / 0.556 GB, free: 15.83 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.963e-05/0.004171, allocations: 11.98 kB / 0.556 GB, free: 15.82 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.618e-05/0.004258, allocations: 19.98 kB / 0.556 GB, free: 15.8 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.245e-05/0.00431, allocations: 23.91 kB / 0.556 GB, free: 15.78 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.00433, allocations: 7.984 kB / 0.556 GB, free: 15.77 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.803e-05/0.004398, allocations: 16 kB / 0.5561 GB, free: 15.75 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.622e-05/0.004425, allocations: 15.98 kB / 0.5561 GB, free: 15.74 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.597e-05/0.004461, allocations: 15.92 kB / 0.5561 GB, free: 15.72 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.004632, allocations: 75.75 kB / 0.5562 GB, free: 15.65 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.004635, allocations: 0 / 0.5562 GB, free: 15.65 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.004637, allocations: 0 / 0.5562 GB, free: 15.65 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.004642, allocations: 0 / 0.5562 GB, free: 15.65 MB / 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.0005417/0.005184, allocations: 290.1 kB / 0.5564 GB, free: 15.33 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.005232, allocations: 8.625 kB / 0.5564 GB, free: 15.32 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.087e-05/0.005272, allocations: 42.73 kB / 0.5565 GB, free: 15.27 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.62e-05/0.005359, allocations: 8.891 kB / 0.5565 GB, free: 15.27 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.005461, allocations: 109.7 kB / 0.5566 GB, free: 15.13 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.005475, allocations: 4.375 kB / 0.5566 GB, free: 15.13 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.808e-05/0.005513, allocations: 4.375 kB / 0.5566 GB, free: 15.12 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.005708, allocations: 66.22 kB / 0.5567 GB, free: 15.05 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.005717, allocations: 192 / 0.5567 GB, free: 15.05 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.005727, allocations: 384 / 0.5567 GB, free: 15.05 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.005734, allocations: 8.062 kB / 0.5567 GB, free: 15.05 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/0.005884, allocations: 47.95 kB / 0.5567 GB, free: 15 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004463/0.00633, allocations: 243.9 kB / 0.557 GB, free: 14.72 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.006476, allocations: 50.55 kB / 0.557 GB, free: 14.66 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.006616, allocations: 36.95 kB / 0.557 GB, free: 14.62 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.006639, allocations: 3.938 kB / 0.557 GB, free: 14.62 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/0.006814, allocations: 83.31 kB / 0.5571 GB, free: 14.52 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.794e-06/0.006816, allocations: 4 kB / 0.5571 GB, free: 14.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002682/0.007084, allocations: 117.9 kB / 0.5572 GB, free: 14.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.007121, allocations: 51.41 kB / 0.5573 GB, free: 14.34 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.931e-05/0.00718, allocations: 105.8 kB / 0.5574 GB, free: 14.22 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.007193, allocations: 25.7 kB / 0.5574 GB, free: 14.19 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.577e-05/0.007228, allocations: 92.09 kB / 0.5575 GB, free: 14.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.007249, allocations: 23.91 kB / 0.5575 GB, free: 14.07 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/0.007285, allocations: 25.64 kB / 0.5575 GB, free: 14.04 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.692e-05/0.007362, allocations: 322.8 kB / 0.5579 GB, free: 13.72 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.414e-05/0.007416, allocations: 23.97 kB / 0.5579 GB, free: 13.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.171e-05/0.007487, allocations: 60.27 kB / 0.5579 GB, free: 13.62 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.007611, allocations: 92.19 kB / 0.558 GB, free: 13.52 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.007613, allocations: 4 kB / 0.558 GB, free: 13.51 MB / 490.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001614/0.007775, allocations: 121.4 kB / 0.5581 GB, free: 13.39 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.00779, allocations: 8.625 kB / 0.5582 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.007794, allocations: 0 / 0.5582 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.007807, allocations: 4.25 kB / 0.5582 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.756e-05/0.007885, allocations: 15.98 kB / 0.5582 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.007892, allocations: 8.062 kB / 0.5582 GB, free: 13.35 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.579e-05/0.007928, allocations: 12.06 kB / 0.5582 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.007938, allocations: 7.984 kB / 0.5582 GB, free: 13.33 MB / 490.7 MB 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 6.87e-05/0.008007, allocations: 119.7 kB / 0.5583 GB, free: 13.21 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.649e-06/0.008016, allocations: 11.89 kB / 0.5583 GB, free: 13.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001679/0.008184, allocations: 106.1 kB / 0.5584 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.008188, allocations: 4 kB / 0.5584 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.008192, allocations: 0 / 0.5584 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.008195, allocations: 0 / 0.5584 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000291/0.008486, allocations: 329.5 kB / 0.5587 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.008487, allocations: 0 / 0.5587 GB, free: 12.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.205e-05/0.008519, allocations: 15.98 kB / 0.5588 GB, free: 12.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.008521, allocations: 0 / 0.5588 GB, free: 12.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.008528, allocations: 4.188 kB / 0.5588 GB, free: 12.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.008529, allocations: 0 / 0.5588 GB, free: 12.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.00853, allocations: 3.938 kB / 0.5588 GB, free: 12.69 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001532/0.008683, allocations: 203.3 kB / 0.559 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.286e-06/0.008691, allocations: 7.938 kB / 0.559 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.008707, allocations: 4 kB / 0.559 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.054e-05/0.008757, allocations: 7.984 kB / 0.559 GB, free: 12.46 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.305e-05/0.00879, allocations: 7.984 kB / 0.559 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.008802, allocations: 0 / 0.559 GB, free: 12.45 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.794e-05/0.00883, allocations: 87.28 kB / 0.5591 GB, free: 12.36 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00883, allocations: 0 / 0.5591 GB, free: 12.36 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001752/0.009005, allocations: 15.98 kB / 0.5591 GB, free: 12.35 MB / 490.7 MB 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.0003879/0.009393, allocations: 0.7396 MB / 0.5598 GB, free: 11.58 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000154/0.009547, allocations: 63.89 kB / 0.5599 GB, free: 11.52 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.009548, allocations: 0 / 0.5599 GB, free: 11.52 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.992e-05/0.009608, allocations: 31.97 kB / 0.5599 GB, free: 11.48 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/0.009803, allocations: 9.281 kB / 0.5599 GB, free: 11.48 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.01083, allocations: 1.426 MB / 0.5613 GB, free: 9.945 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.774e-05/0.01088, allocations: 75.19 kB / 0.5614 GB, free: 9.852 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.859e-05/0.0109, allocations: 11.94 kB / 0.5614 GB, free: 9.84 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.49e-05/0.01094, allocations: 16.5 kB / 0.5614 GB, free: 9.824 MB / 490.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01094, allocations: 0 / 0.5614 GB, free: 9.824 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01711/0.02805, allocations: 2.519 MB / 0.5639 GB, free: 7.465 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.684/6.712, allocations: 16.64 kB / 0.5639 GB, free: 7.457 MB / 490.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_ZeroOrderHold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_ZeroOrderHold.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.08621391095221] Failed to read output from testmodel.py, exit status != 0: 6.793684920296073 6.801590128 6.795207679 Calling exit ...