Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.001337/0.001337, 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.001339/0.001339, 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.437/1.437, allocations: 222.9 MB / 245.7 MB, free: 4.219 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.125/1.125, allocations: 147.6 MB / 445.6 MB, free: 8.367 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.Sources.Validation.SampleTrigger,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.2592/0.2592, allocations: 58.33 kB / 0.6109 GB, free: 37.69 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.4329, allocations: 83.15 MB / 0.6921 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001925/0.4349, allocations: 0.7304 MB / 0.6928 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001547/0.4365, allocations: 1.064 MB / 0.6939 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.13e-05/0.4366, allocations: 0 / 0.6939 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.404e-05/0.4366, allocations: 9.531 kB / 0.6939 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.035e-05/0.4367, allocations: 15.84 kB / 0.6939 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003084/0.437, allocations: 54.55 kB / 0.6939 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.4371, allocations: 70.92 kB / 0.694 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.4373, allocations: 25.28 kB / 0.694 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.216e-05/0.4373, allocations: 25.7 kB / 0.6941 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.726e-05/0.4374, allocations: 37.83 kB / 0.6941 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.4374, allocations: 5.688 kB / 0.6941 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.56e-05/0.4375, allocations: 16.55 kB / 0.6941 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.282e-05/0.4375, allocations: 14.83 kB / 0.6941 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.969e-05/0.4376, allocations: 39.41 kB / 0.6942 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.4377, allocations: 72.72 kB / 0.6942 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.4378, allocations: 0 / 0.6942 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.332e-06/0.4378, allocations: 1.438 kB / 0.6942 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.4378, allocations: 0 / 0.6942 GB, free: 11.68 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005563/0.4383, allocations: 389.6 kB / 0.6946 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.4384, allocations: 8.906 kB / 0.6946 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.369e-05/0.4384, allocations: 32.56 kB / 0.6947 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.255e-05/0.4385, allocations: 8.453 kB / 0.6947 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.4386, allocations: 171.9 kB / 0.6948 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.4386, allocations: 6.156 kB / 0.6948 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.4386, allocations: 9.734 kB / 0.6948 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.4388, allocations: 72.48 kB / 0.6949 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.4389, allocations: 3.984 kB / 0.6949 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.4389, allocations: 5.344 kB / 0.6949 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.4389, allocations: 1.312 kB / 0.6949 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/0.4391, allocations: 39.61 kB / 0.695 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000644/0.4397, allocations: 321 kB / 0.6953 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.4399, allocations: 63.83 kB / 0.6953 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.44, allocations: 28.09 kB / 0.6954 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.44, allocations: 0 / 0.6954 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002331/0.4403, allocations: 78.61 kB / 0.6954 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.4403, allocations: 4 kB / 0.6954 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0004778/0.4408, allocations: 136.6 kB / 0.6956 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.4408, allocations: 52.78 kB / 0.6956 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.441, allocations: 121 kB / 0.6957 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.441, allocations: 35.02 kB / 0.6958 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.583e-05/0.4411, allocations: 94.78 kB / 0.6958 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.4411, allocations: 22.59 kB / 0.6959 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.77e-05/0.4412, allocations: 31.33 kB / 0.6959 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.4413, allocations: 324.1 kB / 0.6962 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.4415, allocations: 32.47 kB / 0.6962 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.4416, allocations: 74.61 kB / 0.6963 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002453/0.4419, allocations: 107 kB / 0.6964 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.4419, allocations: 3.984 kB / 0.6964 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003164/0.4422, allocations: 126.1 kB / 0.6965 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.4422, allocations: 5.969 kB / 0.6965 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.4422, allocations: 1.188 kB / 0.6965 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.4423, allocations: 6.781 kB / 0.6966 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.4424, allocations: 20.52 kB / 0.6966 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.832e-06/0.4424, allocations: 1.344 kB / 0.6966 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.866e-05/0.4425, allocations: 14.61 kB / 0.6966 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.4425, allocations: 3.844 kB / 0.6966 GB, free: 9.434 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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.0001051/0.4426, allocations: 124.7 kB / 0.6967 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.532e-05/0.4427, allocations: 6.672 kB / 0.6967 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.141e-05/0.4427, allocations: 14.86 kB / 0.6967 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.4427, allocations: 5.469 kB / 0.6967 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.4427, allocations: 0 / 0.6967 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4427, allocations: 3.938 kB / 0.6967 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005142/0.4432, allocations: 377.4 kB / 0.6971 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.4433, allocations: 0 / 0.6971 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.547e-05/0.4433, allocations: 6.031 kB / 0.6971 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.4433, allocations: 3.938 kB / 0.6971 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.4433, allocations: 9.266 kB / 0.6971 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.4434, allocations: 3.938 kB / 0.6971 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4434, allocations: 5.281 kB / 0.6971 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003138/0.4437, allocations: 196.3 kB / 0.6973 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.239e-05/0.4437, allocations: 87.36 kB / 0.6974 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.4438, allocations: 1.156 kB / 0.6974 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.81e-05/0.4438, allocations: 11.38 kB / 0.6974 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.4439, allocations: 6.359 kB / 0.6974 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.4439, allocations: 6.344 kB / 0.6974 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.462e-05/0.444, allocations: 93.27 kB / 0.6975 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.444, allocations: 0 / 0.6975 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002539/0.4442, allocations: 13.5 kB / 0.6975 GB, free: 8.527 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: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.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.0007711/0.445, allocations: 0.748 MB / 0.6983 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002865/0.4453, allocations: 79.44 kB / 0.6983 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4453, allocations: 1.062 kB / 0.6983 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.4455, allocations: 52.48 kB / 0.6984 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.4457, allocations: 10.64 kB / 0.6984 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.4476, allocations: 1.512 MB / 0.6999 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.4479, allocations: 0.6888 MB / 0.7005 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.839e-05/0.448, allocations: 8.109 kB / 0.7005 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.952e-05/0.448, allocations: 19.56 kB / 0.7006 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of SimCode: time 3.9e-07/0.448, allocations: 0 / 0.7006 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0231/0.4711, allocations: 2.09 MB / 0.7026 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.988/8.459, allocations: 5.562 kB / 0.7026 GB, free: 3.832 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_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_Sources_Validation_SampleTrigger.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.036161283962429] Failed to read output from testmodel.py, exit status != 0: 8.52720895013772 8.547938228 8.106386804 Calling exit ...