Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.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.0007903/0.0007903, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0008464/0.0008464, 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.8661/0.8661, 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.5386/0.5386, allocations: 114 MB / 373.9 MB, free: 8.703 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.Validation.And,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.925e-06/2.925e-06, allocations: 3.938 kB / 0.5542 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.969e-05/2.261e-05, allocations: 6.281 kB / 0.5542 GB, free: 2.758 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.And): time 0.001832/0.001854, allocations: 0.6381 MB / 0.5548 GB, free: 2.125 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001639/0.003494, allocations: 1.201 MB / 0.556 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.987e-05/0.003543, allocations: 3.938 kB / 0.556 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.991e-05/0.003573, allocations: 0 / 0.556 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.894e-05/0.003652, allocations: 19.86 kB / 0.556 GB, free: 0.8867 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006564/0.004309, allocations: 220.4 kB / 0.5562 GB, free: 0.6836 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0002323/0.004541, allocations: 175.6 kB / 0.5564 GB, free: 0.5117 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.797e-05/0.004639, allocations: 8 kB / 0.5564 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.004779, allocations: 91.92 kB / 0.5565 GB, free: 424 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.004905, allocations: 55.84 kB / 0.5565 GB, free: 368 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.465e-05/0.00494, allocations: 16 kB / 0.5566 GB, free: 352 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 7.493e-05/0.005015, allocations: 23.98 kB / 0.5566 GB, free: 328 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.158e-05/0.005036, allocations: 8 kB / 0.5566 GB, free: 320 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 8.278e-05/0.005119, allocations: 55.88 kB / 0.5566 GB, free: 264 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002403/0.005359, allocations: 175.6 kB / 0.5568 GB, free: 88 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.005364, allocations: 0 / 0.5568 GB, free: 88 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.392e-06/0.005366, allocations: 0 / 0.5568 GB, free: 88 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.00537, allocations: 0 / 0.5568 GB, free: 88 kB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005188/0.005889, allocations: 366.7 kB / 0.5572 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.005931, allocations: 11.97 kB / 0.5572 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.571e-05/0.005967, allocations: 38.69 kB / 0.5572 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.232e-05/0.006029, allocations: 12.89 kB / 0.5572 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.959e-05/0.006119, allocations: 113.7 kB / 0.5573 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.006139, allocations: 8.375 kB / 0.5573 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.006167, allocations: 8.375 kB / 0.5573 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.006277, allocations: 50.25 kB / 0.5574 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.006285, allocations: 192 / 0.5574 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.006294, allocations: 384 / 0.5574 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.006301, allocations: 12.05 kB / 0.5574 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.157e-05/0.006343, allocations: 16 kB / 0.5574 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004643/0.006807, allocations: 299.8 kB / 0.5577 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.992e-05/0.006887, allocations: 30.56 kB / 0.5577 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.769e-05/0.006915, allocations: 12.86 kB / 0.5577 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.006926, allocations: 3.938 kB / 0.5578 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001925/0.007119, allocations: 91.34 kB / 0.5578 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.924e-06/0.007121, allocations: 0 / 0.5578 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.000264/0.007385, allocations: 97.67 kB / 0.5579 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.007427, allocations: 51.41 kB / 0.558 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.935e-05/0.007516, allocations: 121.8 kB / 0.5581 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/0.007549, allocations: 33.7 kB / 0.5581 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.206e-05/0.007611, allocations: 100.1 kB / 0.5582 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.535e-05/0.007626, allocations: 7.906 kB / 0.5582 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.109e-05/0.007717, allocations: 49.69 kB / 0.5583 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.485e-05/0.007812, allocations: 318.8 kB / 0.5586 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.00799, allocations: 123.3 kB / 0.5587 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.008158, allocations: 151.7 kB / 0.5588 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002402/0.008398, allocations: 163.6 kB / 0.559 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.008402, allocations: 3.938 kB / 0.559 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004512/0.008854, allocations: 328.7 kB / 0.5593 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.453e-05/0.008908, allocations: 67.39 kB / 0.5594 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.008915, allocations: 0 / 0.5594 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.008932, allocations: 7.984 kB / 0.5594 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.174e-05/0.008954, allocations: 0 / 0.5594 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.008964, allocations: 7.938 kB / 0.5594 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002895/0.009253, allocations: 56 kB / 0.5595 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.391e-05/0.009287, allocations: 15.98 kB / 0.5595 GB, free: 13.05 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,and1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001063/0.009394, allocations: 125.7 kB / 0.5596 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.704e-05/0.009411, allocations: 7.953 kB / 0.5596 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.922e-05/0.00944, allocations: 8.438 kB / 0.5596 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.009446, allocations: 4 kB / 0.5596 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.009451, allocations: 0 / 0.5596 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.009455, allocations: 4 kB / 0.5596 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/0.009587, allocations: 148.7 kB / 0.5598 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.00959, allocations: 0 / 0.5598 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.065e-05/0.0096, allocations: 64 / 0.5598 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.009605, allocations: 4 kB / 0.5598 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.009614, allocations: 4 kB / 0.5598 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.009619, allocations: 3.984 kB / 0.5598 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.00962, allocations: 0 / 0.5598 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.00979, allocations: 117.3 kB / 0.5599 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.609e-05/0.009806, allocations: 15.94 kB / 0.5599 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.009821, allocations: 0 / 0.5599 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.389e-05/0.009845, allocations: 4 kB / 0.5599 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.236e-05/0.009887, allocations: 11.98 kB / 0.5599 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.009895, allocations: 0 / 0.5599 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.715e-05/0.009942, allocations: 91.27 kB / 0.56 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/0.009942, allocations: 4 kB / 0.56 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002782/0.01022, allocations: 24 kB / 0.56 GB, free: 12.41 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.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.0004399/0.01066, allocations: 0.6593 MB / 0.5607 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003709/0.01103, allocations: 278.3 kB / 0.5609 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01103, allocations: 4.062 kB / 0.5609 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.263e-05/0.01108, allocations: 20.27 kB / 0.561 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.01135, allocations: 19.92 kB / 0.561 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.0135, allocations: 1.959 MB / 0.5629 GB, free: 9.242 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.452e-05/0.01355, allocations: 67.34 kB / 0.5629 GB, free: 9.156 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.1e-05/0.01359, allocations: 11.98 kB / 0.563 GB, free: 9.145 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.317e-05/0.01364, allocations: 20.44 kB / 0.563 GB, free: 9.125 MB / 0.5261 GB Notification: Performance of SimCode: time 8.01e-07/0.01365, allocations: 0 / 0.563 GB, free: 9.125 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02101/0.03465, allocations: 3.751 MB / 0.5666 GB, free: 5.562 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.006/7.04, allocations: 0 / 0.5666 GB, free: 5.562 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_And.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.35894897673279] Failed to read output from testmodel.py, exit status != 0: 7.123663912527263 7.132911723 7.12532491 Calling exit ...