Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.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.001056/0.001056, 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.0008162/0.0008162, 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.8661/0.8661, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.5776/0.5776, allocations: 114 MB / 373.9 MB, free: 8.699 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.Xor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.356e-06/3.356e-06, allocations: 0 / 0.5542 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.242e-05/2.578e-05, allocations: 4.812 kB / 0.5542 GB, free: 2.777 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Xor): time 0.00162/0.001646, allocations: 0.6316 MB / 0.5548 GB, free: 2.148 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001579/0.003225, allocations: 1.205 MB / 0.556 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.203e-05/0.003277, allocations: 0 / 0.556 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.273e-05/0.00331, allocations: 3.938 kB / 0.556 GB, free: 0.9258 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.288e-05/0.003383, allocations: 15.91 kB / 0.556 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005793/0.003962, allocations: 224.2 kB / 0.5562 GB, free: 0.6992 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.004171, allocations: 175.7 kB / 0.5564 GB, free: 0.5273 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.004272, allocations: 7.984 kB / 0.5564 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.004401, allocations: 91.92 kB / 0.5565 GB, free: 440 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.004525, allocations: 55.84 kB / 0.5565 GB, free: 384 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.107e-05/0.004556, allocations: 16 kB / 0.5566 GB, free: 368 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 7.163e-05/0.004628, allocations: 27.92 kB / 0.5566 GB, free: 340 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.593e-05/0.004654, allocations: 11.98 kB / 0.5566 GB, free: 328 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 7.203e-05/0.004726, allocations: 51.89 kB / 0.5566 GB, free: 276 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002366/0.004962, allocations: 183.6 kB / 0.5568 GB, free: 92 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.004967, allocations: 7.938 kB / 0.5568 GB, free: 84 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.593e-06/0.004968, allocations: 0 / 0.5568 GB, free: 84 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.004974, allocations: 3.984 kB / 0.5568 GB, free: 80 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.0005236/0.005497, allocations: 357.5 kB / 0.5572 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.005543, allocations: 8.625 kB / 0.5572 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.396e-05/0.005577, allocations: 34.73 kB / 0.5572 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.25e-05/0.00563, allocations: 16.89 kB / 0.5572 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.669e-05/0.005727, allocations: 113.7 kB / 0.5573 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.005744, allocations: 4.375 kB / 0.5573 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.005773, allocations: 12.38 kB / 0.5574 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.005888, allocations: 62.16 kB / 0.5574 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.005895, allocations: 192 / 0.5574 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.005904, allocations: 384 / 0.5574 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.00591, allocations: 4.125 kB / 0.5574 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.296e-05/0.005953, allocations: 16 kB / 0.5574 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.006386, allocations: 295.9 kB / 0.5577 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.903e-05/0.006465, allocations: 34.52 kB / 0.5577 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.797e-05/0.006493, allocations: 16.94 kB / 0.5578 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.006504, allocations: 3.938 kB / 0.5578 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/0.00667, allocations: 87.31 kB / 0.5578 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.006671, allocations: 4 kB / 0.5579 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0002464/0.006918, allocations: 105.6 kB / 0.558 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.006958, allocations: 55.39 kB / 0.558 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.396e-05/0.007042, allocations: 117.8 kB / 0.5581 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/0.007073, allocations: 29.7 kB / 0.5581 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.758e-05/0.007131, allocations: 92.14 kB / 0.5582 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.007151, allocations: 19.88 kB / 0.5583 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.344e-05/0.007234, allocations: 49.69 kB / 0.5583 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.386e-05/0.007328, allocations: 319.2 kB / 0.5586 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.007488, allocations: 115.4 kB / 0.5587 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.007655, allocations: 159.6 kB / 0.5589 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.007832, allocations: 159.6 kB / 0.559 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.007836, allocations: 3.938 kB / 0.559 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004177/0.008253, allocations: 328.2 kB / 0.5593 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.998e-05/0.008303, allocations: 67.39 kB / 0.5594 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/0.00831, allocations: 4 kB / 0.5594 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.008323, allocations: 8.062 kB / 0.5594 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.156e-05/0.008345, allocations: 7.984 kB / 0.5594 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.00835, allocations: 0 / 0.5594 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002584/0.008608, allocations: 47.94 kB / 0.5595 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.008635, allocations: 15.94 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,xor1.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 8.817e-05/0.008723, allocations: 133.7 kB / 0.5596 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.145e-05/0.008735, allocations: 7.953 kB / 0.5596 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.116e-05/0.008766, allocations: 12.44 kB / 0.5596 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.008768, allocations: 0 / 0.5596 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.008773, allocations: 0 / 0.5596 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.008777, allocations: 0 / 0.5596 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.008887, allocations: 148.6 kB / 0.5598 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.008889, allocations: 0 / 0.5598 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.638e-06/0.008898, allocations: 8.062 kB / 0.5598 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.008901, allocations: 0 / 0.5598 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.008909, allocations: 0 / 0.5598 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.008911, allocations: 0 / 0.5598 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.008912, allocations: 0 / 0.5598 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.009045, allocations: 125.3 kB / 0.5599 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.033e-06/0.009052, allocations: 3.953 kB / 0.5599 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.009065, allocations: 7.984 kB / 0.5599 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.55e-05/0.00908, allocations: 96 / 0.5599 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.009118, allocations: 15.92 kB / 0.5599 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.009123, allocations: 0 / 0.5599 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.292e-05/0.009156, allocations: 95.2 kB / 0.56 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.009156, allocations: 0 / 0.56 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001536/0.00931, allocations: 32 kB / 0.56 GB, free: 12.4 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,xor1.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.0003129/0.009623, allocations: 0.6516 MB / 0.5607 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002522/0.009875, allocations: 278.1 kB / 0.5609 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.009877, allocations: 0 / 0.5609 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.92e-05/0.009916, allocations: 35.91 kB / 0.561 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.01009, allocations: 11.98 kB / 0.561 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.01163, allocations: 1.966 MB / 0.5629 GB, free: 9.223 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.256e-05/0.01167, allocations: 75.33 kB / 0.563 GB, free: 9.129 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.439e-05/0.01169, allocations: 4 kB / 0.563 GB, free: 9.125 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.685e-05/0.01173, allocations: 24.44 kB / 0.563 GB, free: 9.102 MB / 0.5261 GB Notification: Performance of SimCode: time 5.51e-07/0.01173, allocations: 0 / 0.563 GB, free: 9.102 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0181/0.02984, allocations: 3.771 MB / 0.5667 GB, free: 5.527 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.766/6.796, allocations: 3.188 kB / 0.5667 GB, free: 5.527 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Xor.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.32396006397903] Failed to read output from testmodel.py, exit status != 0: 6.876636903733015 6.88852899 6.880772158 Calling exit ...