Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.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.00192/0.00192, allocations: 113.6 kB / 17.08 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.002073/0.002074, allocations: 190.8 kB / 20.03 MB, free: 3.059 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.486/1.486, allocations: 222.9 MB / 245.7 MB, free: 4.23 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.088/1.088, allocations: 147.6 MB / 445.6 MB, free: 8.383 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.Discrete.Validation.TriggeredMax,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_TriggeredMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_TriggeredMax",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.2877/0.2877, allocations: 59.44 kB / 0.6109 GB, free: 37.75 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.4443, allocations: 83.15 MB / 0.6921 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.002654/0.447, allocations: 0.7147 MB / 0.6928 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002445/0.4495, allocations: 1.183 MB / 0.6939 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.009e-05/0.4495, allocations: 1.312 kB / 0.6939 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.391e-05/0.4496, allocations: 3.938 kB / 0.6939 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.103e-05/0.4497, allocations: 5.062 kB / 0.6939 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007648/0.4505, allocations: 150.8 kB / 0.6941 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002482/0.4507, allocations: 117.5 kB / 0.6942 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.4509, allocations: 23.3 kB / 0.6942 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.451, allocations: 47.69 kB / 0.6943 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.4512, allocations: 52.3 kB / 0.6943 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.589e-05/0.4512, allocations: 10.12 kB / 0.6943 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.4513, allocations: 24.2 kB / 0.6944 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.093e-05/0.4514, allocations: 6.281 kB / 0.6944 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.947e-05/0.4515, allocations: 40.44 kB / 0.6944 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002694/0.4518, allocations: 111.9 kB / 0.6945 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4518, allocations: 0 / 0.6945 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.164e-06/0.4518, allocations: 0 / 0.6945 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.685e-06/0.4518, allocations: 1.094 kB / 0.6945 GB, free: 11.5 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.0008456/0.4527, allocations: 408.5 kB / 0.6949 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.4527, allocations: 13.56 kB / 0.6949 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.812e-05/0.4528, allocations: 36.11 kB / 0.6949 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.023e-05/0.4529, allocations: 9.016 kB / 0.695 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.4531, allocations: 175 kB / 0.6951 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.4531, allocations: 4.5 kB / 0.6951 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.234e-05/0.4531, allocations: 9.875 kB / 0.6951 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/0.4534, allocations: 69.47 kB / 0.6952 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.4535, allocations: 7.875 kB / 0.6952 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.4535, allocations: 0 / 0.6952 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.4535, allocations: 1.375 kB / 0.6952 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002896/0.4538, allocations: 43.27 kB / 0.6952 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000701/0.4545, allocations: 329.6 kB / 0.6956 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002295/0.4548, allocations: 45.81 kB / 0.6956 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.455, allocations: 30.67 kB / 0.6956 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.455, allocations: 1.375 kB / 0.6956 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002841/0.4553, allocations: 94.62 kB / 0.6957 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.844e-06/0.4553, allocations: 4 kB / 0.6957 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0005184/0.4558, allocations: 125.4 kB / 0.6959 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.4559, allocations: 52.69 kB / 0.6959 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.456, allocations: 121.1 kB / 0.696 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.4561, allocations: 35.95 kB / 0.6961 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.509e-05/0.4562, allocations: 83.61 kB / 0.6961 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/0.4562, allocations: 22.41 kB / 0.6962 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.938e-05/0.4563, allocations: 44.44 kB / 0.6962 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.4565, allocations: 320.4 kB / 0.6965 GB, free: 9.5 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.4567, allocations: 49.92 kB / 0.6965 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.4569, allocations: 73.03 kB / 0.6966 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/0.4572, allocations: 135.8 kB / 0.6967 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.4572, allocations: 5.312 kB / 0.6968 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004759/0.4577, allocations: 194.6 kB / 0.6969 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.906e-05/0.4577, allocations: 34.17 kB / 0.697 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.4577, allocations: 4.969 kB / 0.697 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.4578, allocations: 2.062 kB / 0.697 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.4579, allocations: 21.17 kB / 0.697 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.4579, allocations: 1.875 kB / 0.697 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/0.4581, allocations: 34.84 kB / 0.697 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.4581, allocations: 6.125 kB / 0.697 GB, free: 9.121 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition3,booPul.y,$PRE.booPul.y,$whenCondition1,triggeredMax.y,$PRE.triggeredMax.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): 8 * 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.0001134/0.4582, allocations: 130.9 kB / 0.6972 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.4583, allocations: 2.812 kB / 0.6972 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002998/0.4586, allocations: 113.5 kB / 0.6973 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.4586, allocations: 1.062 kB / 0.6973 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.4586, allocations: 1.375 kB / 0.6973 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.4586, allocations: 3.938 kB / 0.6973 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004527/0.459, allocations: 363 kB / 0.6976 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4591, allocations: 0 / 0.6976 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.171e-05/0.4591, allocations: 9.953 kB / 0.6976 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.4591, allocations: 1.625 kB / 0.6976 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.4591, allocations: 1.188 kB / 0.6976 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.678e-06/0.4592, allocations: 0 / 0.6976 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/0.4592, allocations: 15.84 kB / 0.6977 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003113/0.4595, allocations: 211.1 kB / 0.6979 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.749e-05/0.4596, allocations: 87.91 kB / 0.6979 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.4596, allocations: 0 / 0.6979 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.894e-05/0.4597, allocations: 8.297 kB / 0.6979 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.051e-05/0.4597, allocations: 7 kB / 0.698 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/0.4598, allocations: 5.812 kB / 0.698 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.867e-05/0.4598, allocations: 86.67 kB / 0.698 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4598, allocations: 0 / 0.698 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002558/0.4601, allocations: 23.59 kB / 0.6981 GB, free: 8.16 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: 5 ($whenCondition2,$whenCondition3,$whenCondition1,triggeredMax.y,booPul.y) * Number of discrete states: 1 (triggeredMax.y) * 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.000732/0.4608, allocations: 0.7456 MB / 0.6988 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004051/0.4612, allocations: 175.8 kB / 0.699 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4613, allocations: 0 / 0.699 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.4614, allocations: 33.98 kB / 0.699 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.4617, allocations: 16.34 kB / 0.699 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.4639, allocations: 1.64 MB / 0.7006 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.4643, allocations: 0.6923 MB / 0.7013 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.822e-05/0.4644, allocations: 8 kB / 0.7013 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.374e-05/0.4644, allocations: 23.42 kB / 0.7013 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of SimCode: time 1.242e-06/0.4644, allocations: 0 / 0.7013 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02508/0.4895, allocations: 2.425 MB / 0.7037 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.84/8.33, allocations: 14.64 kB / 0.7037 GB, free: 2.672 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_TriggeredMax_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_TriggeredMax.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.865501164924353] Failed to read output from testmodel.py, exit status != 0: 8.396014265948907 8.413074346 7.957479547 Calling exit ...