Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.001061/0.001061, allocations: 76.55 kB / 19.92 MB, free: 4.637 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.0008555/0.0008555, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.9241/0.9241, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.5805/0.5805, allocations: 114 MB / 373.9 MB, free: 8.691 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.Logical.Sources.Validation.SampleTrigger,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.5542 GB, free: 2.758 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.792e-05/1.991e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001314/0.001334, allocations: 0.7262 MB / 0.5549 GB, free: 2.035 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.00236, allocations: 1.089 MB / 0.556 GB, free: 0.9336 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.206e-05/0.002392, allocations: 0 / 0.556 GB, free: 0.9336 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.712e-05/0.00241, allocations: 3.938 kB / 0.556 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 3.602e-05/0.002446, allocations: 11.86 kB / 0.556 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.002628, allocations: 55.7 kB / 0.556 GB, free: 0.8633 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 9.832e-05/0.002726, allocations: 75.77 kB / 0.5561 GB, free: 0.7891 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.704e-05/0.002823, allocations: 12.17 kB / 0.5561 GB, free: 0.7734 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 8.176e-05/0.002905, allocations: 43.89 kB / 0.5562 GB, free: 0.7305 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.448e-05/0.002949, allocations: 23.91 kB / 0.5562 GB, free: 0.707 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.002966, allocations: 12 kB / 0.5562 GB, free: 0.6953 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 5.034e-05/0.003016, allocations: 19.98 kB / 0.5562 GB, free: 0.6758 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.887e-05/0.003035, allocations: 11.97 kB / 0.5562 GB, free: 0.6641 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.959e-05/0.003065, allocations: 19.94 kB / 0.5562 GB, free: 0.6445 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.00319, allocations: 91.66 kB / 0.5563 GB, free: 0.5547 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.676e-06/0.003192, allocations: 0 / 0.5563 GB, free: 0.5547 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.212e-06/0.003194, allocations: 0 / 0.5563 GB, free: 0.5547 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.003197, allocations: 4 kB / 0.5563 GB, free: 0.5508 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003941/0.003592, allocations: 298.1 kB / 0.5566 GB, free: 236 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.00363, allocations: 12.62 kB / 0.5566 GB, free: 224 kB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.866e-05/0.003659, allocations: 38.75 kB / 0.5567 GB, free: 176 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.81e-05/0.003687, allocations: 8.891 kB / 0.5567 GB, free: 168 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.429e-05/0.003761, allocations: 113.7 kB / 0.5568 GB, free: 28 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.003773, allocations: 8.359 kB / 0.5568 GB, free: 20 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.003785, allocations: 8.375 kB / 0.5568 GB, free: 12 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.003932, allocations: 66.17 kB / 0.5569 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.003939, allocations: 192 / 0.5569 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.003947, allocations: 384 / 0.5569 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.003953, allocations: 3.938 kB / 0.5569 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000226/0.004178, allocations: 47.95 kB / 0.5569 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004359/0.004614, allocations: 287.8 kB / 0.5572 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.004733, allocations: 54.5 kB / 0.5572 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.062e-05/0.004784, allocations: 28.95 kB / 0.5573 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.004805, allocations: 8 kB / 0.5573 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001493/0.004954, allocations: 83.36 kB / 0.5574 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 9.11e-07/0.004955, allocations: 0 / 0.5574 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0002742/0.005229, allocations: 125.6 kB / 0.5575 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.005266, allocations: 63.34 kB / 0.5575 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.346e-05/0.005339, allocations: 125.2 kB / 0.5577 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.005353, allocations: 25.7 kB / 0.5577 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.073e-05/0.005394, allocations: 96.08 kB / 0.5578 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.499e-05/0.005409, allocations: 15.84 kB / 0.5578 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.956e-05/0.005448, allocations: 37.7 kB / 0.5578 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.004e-05/0.005518, allocations: 318.8 kB / 0.5581 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.247e-05/0.005581, allocations: 23.98 kB / 0.5582 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.661e-05/0.005657, allocations: 77.92 kB / 0.5582 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.005788, allocations: 109.8 kB / 0.5583 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.005792, allocations: 4 kB / 0.5583 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001764/0.005968, allocations: 133.5 kB / 0.5585 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.005983, allocations: 10.25 kB / 0.5585 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.005988, allocations: 0 / 0.5585 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.006002, allocations: 4 kB / 0.5585 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.631e-05/0.006088, allocations: 19.92 kB / 0.5585 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.006095, allocations: 4 kB / 0.5585 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.88e-05/0.006143, allocations: 7.984 kB / 0.5585 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.006155, allocations: 4 kB / 0.5585 GB, free: 14.09 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.657e-05/0.006231, allocations: 133.7 kB / 0.5586 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.718e-06/0.006241, allocations: 3.953 kB / 0.5586 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.578e-05/0.006267, allocations: 20.42 kB / 0.5587 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.006269, allocations: 0 / 0.5587 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.006273, allocations: 0 / 0.5587 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.006278, allocations: 3.984 kB / 0.5587 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003255/0.006603, allocations: 341.5 kB / 0.559 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.006605, allocations: 3.938 kB / 0.559 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.876e-05/0.006634, allocations: 11.98 kB / 0.559 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.006636, allocations: 0 / 0.559 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.006642, allocations: 0 / 0.559 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.006644, allocations: 4 kB / 0.559 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.006645, allocations: 400 / 0.559 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001624/0.006808, allocations: 207.4 kB / 0.5592 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.121e-05/0.006819, allocations: 7.953 kB / 0.5592 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.00683, allocations: 0 / 0.5592 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.305e-05/0.006873, allocations: 11.92 kB / 0.5592 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.006909, allocations: 8 kB / 0.5592 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/0.006917, allocations: 15.86 kB / 0.5593 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.063e-05/0.006958, allocations: 91.28 kB / 0.5593 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.006958, allocations: 4 kB / 0.5593 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002036/0.007162, allocations: 19.98 kB / 0.5594 GB, free: 13.15 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: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * 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.000423/0.007585, allocations: 0.732 MB / 0.5601 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001851/0.00777, allocations: 72.14 kB / 0.5601 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.007772, allocations: 4.125 kB / 0.5601 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.045e-05/0.007832, allocations: 35.95 kB / 0.5602 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.008053, allocations: 23.86 kB / 0.5602 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.009197, allocations: 1.521 MB / 0.5617 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.064e-05/0.009248, allocations: 75.33 kB / 0.5618 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.255e-05/0.00928, allocations: 7.984 kB / 0.5618 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.182e-05/0.009322, allocations: 20.5 kB / 0.5618 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of SimCode: time 1.142e-06/0.009323, allocations: 0 / 0.5618 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01797/0.02729, allocations: 2.827 MB / 0.5646 GB, free: 7.84 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.655/6.682, allocations: 2.922 kB / 0.5646 GB, free: 7.84 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.129991415888071] Failed to read output from testmodel.py, exit status != 0: 6.761109031736851 6.769880294 6.764956638 Calling exit ...