Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.001362/0.001362, allocations: 106.4 kB / 17.07 MB, free: 6 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.001515/0.001515, allocations: 191.8 kB / 20.02 MB, free: 3.07 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.493/1.493, allocations: 222.9 MB / 245.7 MB, free: 4.227 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.18/1.18, allocations: 147.6 MB / 445.5 MB, free: 8.277 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.FallingEdge,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.2879/0.2879, allocations: 63.19 kB / 0.6109 GB, free: 37.81 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.449, allocations: 83.16 MB / 0.6921 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002014/0.451, allocations: 0.7218 MB / 0.6928 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001749/0.4528, allocations: 1.147 MB / 0.6939 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.16e-05/0.4529, allocations: 1.562 kB / 0.6939 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.876e-05/0.4529, allocations: 3.938 kB / 0.6939 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.688e-05/0.453, allocations: 16.95 kB / 0.694 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006048/0.4536, allocations: 141.6 kB / 0.6941 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00019/0.4538, allocations: 117.3 kB / 0.6942 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.395e-05/0.4539, allocations: 15.69 kB / 0.6942 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.4541, allocations: 51.98 kB / 0.6943 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.4542, allocations: 51.56 kB / 0.6943 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.656e-05/0.4542, allocations: 9.875 kB / 0.6943 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.332e-05/0.4543, allocations: 24.83 kB / 0.6944 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.673e-05/0.4543, allocations: 19.25 kB / 0.6944 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.118e-05/0.4544, allocations: 39.92 kB / 0.6944 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.4546, allocations: 112.1 kB / 0.6945 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.4546, allocations: 5.312 kB / 0.6945 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4546, allocations: 0 / 0.6945 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.4546, allocations: 0 / 0.6945 GB, free: 11.54 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006103/0.4552, allocations: 413.5 kB / 0.6949 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.4553, allocations: 9.781 kB / 0.6949 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.312e-05/0.4553, allocations: 36.55 kB / 0.695 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.885e-05/0.4554, allocations: 10.61 kB / 0.695 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.4555, allocations: 172.2 kB / 0.6951 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.4555, allocations: 8.281 kB / 0.6951 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.4556, allocations: 9.906 kB / 0.6952 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.4558, allocations: 65.66 kB / 0.6952 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.4558, allocations: 3.938 kB / 0.6952 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.4558, allocations: 0 / 0.6952 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.4558, allocations: 1.531 kB / 0.6952 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001978/0.456, allocations: 44.27 kB / 0.6953 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000626/0.4566, allocations: 345.5 kB / 0.6956 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.4569, allocations: 59.02 kB / 0.6957 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.457, allocations: 30.67 kB / 0.6957 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.457, allocations: 1.469 kB / 0.6957 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002415/0.4572, allocations: 95.94 kB / 0.6958 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/0.4573, allocations: 0 / 0.6958 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.0004987/0.4578, allocations: 139.6 kB / 0.6959 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/0.4578, allocations: 56.78 kB / 0.696 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.458, allocations: 124.9 kB / 0.6961 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.447e-05/0.458, allocations: 32.45 kB / 0.6961 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.409e-05/0.4581, allocations: 92.2 kB / 0.6962 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.4581, allocations: 18.64 kB / 0.6962 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.946e-05/0.4582, allocations: 40.77 kB / 0.6963 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.4584, allocations: 325.5 kB / 0.6966 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.4585, allocations: 47.47 kB / 0.6966 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/0.4587, allocations: 87.88 kB / 0.6967 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/0.459, allocations: 144.7 kB / 0.6968 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.4591, allocations: 4 kB / 0.6968 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004537/0.4595, allocations: 209.8 kB / 0.697 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.681e-05/0.4596, allocations: 40.56 kB / 0.6971 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.4596, allocations: 5.312 kB / 0.6971 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.4596, allocations: 2.75 kB / 0.6971 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.448e-05/0.4597, allocations: 10.86 kB / 0.6971 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.4597, allocations: 2.875 kB / 0.6971 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.4599, allocations: 43.09 kB / 0.6971 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/0.46, allocations: 6.875 kB / 0.6971 GB, free: 9.109 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,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,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.0001246/0.4601, allocations: 128.6 kB / 0.6973 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.848e-05/0.4601, allocations: 8.078 kB / 0.6973 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.913e-05/0.4602, allocations: 13.73 kB / 0.6973 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.4602, allocations: 3.984 kB / 0.6973 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.4602, allocations: 5.375 kB / 0.6973 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.4602, allocations: 0 / 0.6973 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005404/0.4607, allocations: 376.3 kB / 0.6977 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.4607, allocations: 0 / 0.6977 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.286e-05/0.4608, allocations: 5.5 kB / 0.6977 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.4608, allocations: 1.375 kB / 0.6977 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.4608, allocations: 5.359 kB / 0.6977 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4608, allocations: 4 kB / 0.6977 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.796e-06/0.4609, allocations: 3.938 kB / 0.6977 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003196/0.4612, allocations: 204.7 kB / 0.6979 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.894e-05/0.4612, allocations: 83.75 kB / 0.6979 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.4613, allocations: 5.281 kB / 0.698 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.672e-05/0.4614, allocations: 6.922 kB / 0.698 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.4614, allocations: 15.56 kB / 0.698 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.4614, allocations: 6.484 kB / 0.698 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.569e-05/0.4615, allocations: 96.36 kB / 0.6981 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4615, allocations: 0 / 0.6981 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002659/0.4618, allocations: 33.11 kB / 0.6981 GB, free: 8.188 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 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_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.0007229/0.4625, allocations: 0.742 MB / 0.6988 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004176/0.4629, allocations: 176.7 kB / 0.699 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4629, allocations: 0 / 0.699 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.4631, allocations: 39.69 kB / 0.699 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.4634, allocations: 28.12 kB / 0.6991 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/0.4657, allocations: 1.689 MB / 0.7007 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.466, allocations: 0.6885 MB / 0.7014 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.585e-05/0.4661, allocations: 7.938 kB / 0.7014 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.817e-05/0.4661, allocations: 27.42 kB / 0.7014 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of SimCode: time 3.2e-07/0.4661, allocations: 0 / 0.7014 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02428/0.4904, allocations: 2.55 MB / 0.7039 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.954/8.445, allocations: 7.922 kB / 0.7039 GB, free: 2.461 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.127369737019762] Failed to read output from testmodel.py, exit status != 0: 8.514201713027433 8.529262747 8.072037019 Calling exit ...