Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.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.0008606/0.0008606, 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.001419/0.001419, allocations: 174.3 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.8612/0.8612, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.5871/0.5871, allocations: 114 MB / 373.9 MB, free: 8.688 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.Sampler,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_Sampler",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_Sampler",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.5542 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.043e-05/1.208e-05, allocations: 4.812 kB / 0.5542 GB, free: 2.758 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001102/0.001114, allocations: 0.6519 MB / 0.5548 GB, free: 2.113 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.002164, allocations: 1.073 MB / 0.5559 GB, free: 1.027 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.472e-05/0.002209, allocations: 4 kB / 0.5559 GB, free: 1.023 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.168e-05/0.002241, allocations: 3.938 kB / 0.5559 GB, free: 1.02 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.808e-05/0.002299, allocations: 3.984 kB / 0.5559 GB, free: 1.016 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002987/0.002597, allocations: 55.64 kB / 0.5559 GB, free: 0.9609 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 8.849e-05/0.002686, allocations: 43.86 kB / 0.556 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.338e-05/0.002779, allocations: 15.97 kB / 0.556 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 7.379e-05/0.002853, allocations: 23.98 kB / 0.556 GB, free: 0.8789 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.697e-05/0.0029, allocations: 11.98 kB / 0.556 GB, free: 0.8672 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.002916, allocations: 7.938 kB / 0.556 GB, free: 0.8594 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 6.657e-05/0.002982, allocations: 23.97 kB / 0.556 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.168e-05/0.003004, allocations: 7.984 kB / 0.556 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.716e-05/0.003031, allocations: 12 kB / 0.5561 GB, free: 0.8164 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.003156, allocations: 67.77 kB / 0.5561 GB, free: 0.75 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.003157, allocations: 0 / 0.5561 GB, free: 0.75 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.092e-06/0.003158, allocations: 0 / 0.5561 GB, free: 0.75 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.003162, allocations: 4 kB / 0.5561 GB, free: 0.7461 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004444/0.003606, allocations: 294.1 kB / 0.5564 GB, free: 436 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.003646, allocations: 12.62 kB / 0.5564 GB, free: 424 kB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.029e-05/0.003676, allocations: 30.75 kB / 0.5565 GB, free: 384 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.036e-05/0.003736, allocations: 12.89 kB / 0.5565 GB, free: 372 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.221e-05/0.003809, allocations: 113.8 kB / 0.5566 GB, free: 232 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.003818, allocations: 4.359 kB / 0.5566 GB, free: 228 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.00383, allocations: 4.375 kB / 0.5566 GB, free: 224 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.003966, allocations: 66.22 kB / 0.5566 GB, free: 152 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.003973, allocations: 192 / 0.5566 GB, free: 152 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.003982, allocations: 384 / 0.5566 GB, free: 152 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.003988, allocations: 4.125 kB / 0.5566 GB, free: 148 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.75e-05/0.004085, allocations: 51.83 kB / 0.5567 GB, free: 96 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003395/0.004425, allocations: 240 kB / 0.5569 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.004526, allocations: 50.55 kB / 0.557 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.218e-05/0.004579, allocations: 32.95 kB / 0.557 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.004598, allocations: 3.938 kB / 0.557 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001222/0.00472, allocations: 75.33 kB / 0.5571 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.004721, allocations: 0 / 0.5571 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0002568/0.004978, allocations: 117.6 kB / 0.5572 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.005019, allocations: 55.41 kB / 0.5572 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.757e-05/0.005077, allocations: 109.8 kB / 0.5574 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.005089, allocations: 29.64 kB / 0.5574 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.598e-05/0.005125, allocations: 92.08 kB / 0.5575 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/0.005141, allocations: 15.91 kB / 0.5575 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.005173, allocations: 21.8 kB / 0.5575 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.897e-05/0.005262, allocations: 318.8 kB / 0.5578 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.03e-05/0.005312, allocations: 23.97 kB / 0.5578 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.19e-05/0.005374, allocations: 55.34 kB / 0.5579 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.005483, allocations: 79.39 kB / 0.558 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.005486, allocations: 0 / 0.558 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001462/0.005632, allocations: 109.5 kB / 0.5581 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.005643, allocations: 4 kB / 0.5581 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.005649, allocations: 0 / 0.5581 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.00566, allocations: 8.094 kB / 0.5581 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.517e-05/0.005725, allocations: 11.98 kB / 0.5581 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.005732, allocations: 4 kB / 0.5581 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.674e-05/0.005768, allocations: 4 kB / 0.5581 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/0.005778, allocations: 7.984 kB / 0.5581 GB, free: 14.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (sampler1.firstTrigger,$PRE.sampler1.firstTrigger,sampler1.sampleTrigger,$whenCondition1,sampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.8e-05/0.005846, allocations: 117.8 kB / 0.5582 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.305e-06/0.005854, allocations: 8.391 kB / 0.5582 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001657/0.00602, allocations: 106.1 kB / 0.5583 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.006021, allocations: 64 / 0.5583 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.006027, allocations: 4 kB / 0.5583 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.00603, allocations: 0 / 0.5583 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003075/0.006338, allocations: 325.5 kB / 0.5586 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.00634, allocations: 0 / 0.5586 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.998e-05/0.00637, allocations: 11.98 kB / 0.5586 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.006372, allocations: 3.938 kB / 0.5587 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.006381, allocations: 4.047 kB / 0.5587 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.006382, allocations: 4 kB / 0.5587 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.006384, allocations: 3.984 kB / 0.5587 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.00653, allocations: 199.3 kB / 0.5589 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.502e-06/0.006537, allocations: 4 kB / 0.5589 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.006548, allocations: 4 kB / 0.5589 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.68e-05/0.006594, allocations: 7.984 kB / 0.5589 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.979e-05/0.006624, allocations: 4 kB / 0.5589 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.006634, allocations: 0 / 0.5589 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.018e-05/0.006664, allocations: 91.27 kB / 0.559 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.006664, allocations: 0 / 0.559 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001742/0.006838, allocations: 12 kB / 0.559 GB, free: 13.53 MB / 0.5261 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 (sampler1.sampleTrigger,$whenCondition1,sampler1.y,sampler1.firstTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0003437/0.007182, allocations: 0.7321 MB / 0.5597 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001454/0.007328, allocations: 63.94 kB / 0.5597 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.007329, allocations: 192 / 0.5597 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.601e-05/0.007385, allocations: 35.98 kB / 0.5598 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001779/0.007563, allocations: 11.98 kB / 0.5598 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.008586, allocations: 1.378 MB / 0.5611 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.205e-05/0.008628, allocations: 75.27 kB / 0.5612 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.756e-05/0.008656, allocations: 4 kB / 0.5612 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/0.008689, allocations: 16.5 kB / 0.5612 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of SimCode: time 8.51e-07/0.008689, allocations: 0 / 0.5612 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.015/0.02368, allocations: 2.438 MB / 0.5636 GB, free: 8.773 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.692/6.716, allocations: 11.27 kB / 0.5636 GB, free: 8.77 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_Sampler_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_Sampler.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.119101436808705] Failed to read output from testmodel.py, exit status != 0: 6.7957705752924085 6.808065311 6.802482505 Calling exit ...