Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 111 kB / 17.07 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003029/0.003029, allocations: 193.2 kB / 20.03 MB, free: 3.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.084/1.084, allocations: 147.6 MB / 445.5 MB, free: 8.305 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.2961/0.2961, allocations: 63.73 kB / 0.6109 GB, free: 37.69 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.4535, allocations: 83.15 MB / 0.6921 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Change): time 0.002197/0.4557, allocations: 0.7238 MB / 0.6928 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001835/0.4576, allocations: 1.146 MB / 0.6939 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.723e-05/0.4577, allocations: 1.344 kB / 0.6939 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.706e-05/0.4577, allocations: 3.938 kB / 0.6939 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.942e-05/0.4578, allocations: 21.55 kB / 0.694 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006112/0.4584, allocations: 129 kB / 0.6941 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.4587, allocations: 123.8 kB / 0.6942 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.4588, allocations: 15.12 kB / 0.6942 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.761e-05/0.4589, allocations: 48.73 kB / 0.6943 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.459, allocations: 47.25 kB / 0.6943 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.642e-05/0.459, allocations: 10.94 kB / 0.6943 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.821e-05/0.4591, allocations: 27.45 kB / 0.6943 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.213e-05/0.4591, allocations: 7.125 kB / 0.6944 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.476e-05/0.4592, allocations: 44.58 kB / 0.6944 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.4595, allocations: 111.5 kB / 0.6945 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.4595, allocations: 8 kB / 0.6945 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.046e-06/0.4595, allocations: 1.375 kB / 0.6945 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.4595, allocations: 0 / 0.6945 GB, free: 11.52 MB / 0.5137 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.0007/0.4602, allocations: 408.5 kB / 0.6949 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.4602, allocations: 13.56 kB / 0.6949 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.111e-05/0.4603, allocations: 36.12 kB / 0.6949 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.4604, allocations: 10.39 kB / 0.695 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.4605, allocations: 172.4 kB / 0.6951 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.4605, allocations: 7.125 kB / 0.6951 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.4606, allocations: 11.19 kB / 0.6951 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.4608, allocations: 60.11 kB / 0.6952 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.4608, allocations: 7.922 kB / 0.6952 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.4608, allocations: 1.375 kB / 0.6952 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.4608, allocations: 0 / 0.6952 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001833/0.461, allocations: 39.34 kB / 0.6952 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005307/0.4615, allocations: 346.5 kB / 0.6956 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.4617, allocations: 55.52 kB / 0.6956 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.4618, allocations: 36.8 kB / 0.6957 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.4619, allocations: 1.188 kB / 0.6957 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002252/0.4621, allocations: 91.09 kB / 0.6958 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.462e-06/0.4621, allocations: 1.406 kB / 0.6958 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.0004722/0.4626, allocations: 147 kB / 0.6959 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.4626, allocations: 52.56 kB / 0.6959 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.4628, allocations: 120.7 kB / 0.6961 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/0.4628, allocations: 32.25 kB / 0.6961 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.071e-05/0.4629, allocations: 91.5 kB / 0.6962 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.4629, allocations: 15.25 kB / 0.6962 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.463, allocations: 41.16 kB / 0.6962 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.4632, allocations: 321.1 kB / 0.6965 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.4634, allocations: 51.8 kB / 0.6966 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002026/0.4636, allocations: 89.5 kB / 0.6967 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003261/0.4639, allocations: 144.4 kB / 0.6968 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.4639, allocations: 0 / 0.6968 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004969/0.4644, allocations: 205.3 kB / 0.697 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.145e-05/0.4645, allocations: 34.08 kB / 0.697 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.4645, allocations: 5.406 kB / 0.697 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.4646, allocations: 1.5 kB / 0.697 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.4647, allocations: 20.02 kB / 0.6971 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.4647, allocations: 5.25 kB / 0.6971 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.4649, allocations: 39.97 kB / 0.6971 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.691e-05/0.4649, allocations: 7.094 kB / 0.6971 GB, free: 9.098 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001526/0.4651, allocations: 129.7 kB / 0.6972 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.738e-05/0.4651, allocations: 7.609 kB / 0.6972 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.409e-05/0.4652, allocations: 10.12 kB / 0.6973 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.4652, allocations: 4 kB / 0.6973 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.4652, allocations: 5.781 kB / 0.6973 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4652, allocations: 3.938 kB / 0.6973 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006012/0.4658, allocations: 378.9 kB / 0.6976 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.4658, allocations: 0 / 0.6976 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.518e-05/0.4659, allocations: 9.484 kB / 0.6976 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.4659, allocations: 1.25 kB / 0.6976 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.4659, allocations: 5.438 kB / 0.6976 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4659, allocations: 0 / 0.6976 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.4659, allocations: 1.312 kB / 0.6976 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003487/0.4663, allocations: 216.7 kB / 0.6979 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.25e-05/0.4663, allocations: 78.48 kB / 0.6979 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.4664, allocations: 1.375 kB / 0.6979 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.592e-05/0.4665, allocations: 12.11 kB / 0.6979 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/0.4665, allocations: 14.67 kB / 0.698 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.4665, allocations: 2.75 kB / 0.698 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.157e-05/0.4666, allocations: 96 kB / 0.698 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4666, allocations: 0 / 0.698 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002612/0.4669, allocations: 20.62 kB / 0.6981 GB, free: 8.184 MB / 0.5137 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 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.000728/0.4676, allocations: 0.75 MB / 0.6988 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004191/0.468, allocations: 178.7 kB / 0.699 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4681, allocations: 1.375 kB / 0.699 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.4682, allocations: 43.59 kB / 0.699 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.4685, allocations: 25.02 kB / 0.699 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002439/0.4709, allocations: 1.679 MB / 0.7007 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.4713, allocations: 0.6885 MB / 0.7013 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.341e-05/0.4714, allocations: 8 kB / 0.7014 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.258e-05/0.4714, allocations: 23.42 kB / 0.7014 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of SimCode: time 6.61e-07/0.4714, allocations: 0 / 0.7014 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02655/0.498, allocations: 2.532 MB / 0.7038 GB, free: 2.547 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.03/8.529, allocations: 16.91 kB / 0.7039 GB, free: 2.531 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change_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_Change.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.212095094844699] Failed to read output from testmodel.py, exit status != 0: 8.598373643122613 8.622915548 8.159100795 Calling exit ...