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.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.001388/0.001388, allocations: 113.7 kB / 17.12 MB, free: 5.945 MB / 14.72 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.00141/0.00141, allocations: 208 kB / 20.09 MB, free: 2.996 MB / 14.72 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 1.49/1.49, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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.9754/0.9754, allocations: 150 MB / 459.5 MB, free: 5.23 MB / 350.1 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.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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002806/0.002806, allocations: 75.44 kB / 0.6361 GB, free: 30.49 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2239, allocations: 89.13 MB / 0.7232 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002419/0.2263, allocations: 0.7267 MB / 0.7239 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001758/0.2281, allocations: 1.114 MB / 0.725 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.015e-05/0.2282, allocations: 4 kB / 0.725 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.079e-05/0.2282, allocations: 3.938 kB / 0.725 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.726e-05/0.2283, allocations: 7.875 kB / 0.725 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003995/0.2287, allocations: 55.81 kB / 0.725 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.2289, allocations: 71.84 kB / 0.7251 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.229, allocations: 20.11 kB / 0.7251 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.2291, allocations: 31.91 kB / 0.7252 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.703e-05/0.2292, allocations: 31.84 kB / 0.7252 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.2292, allocations: 8 kB / 0.7252 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.897e-05/0.2293, allocations: 19.98 kB / 0.7252 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.349e-05/0.2293, allocations: 11.98 kB / 0.7252 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.606e-05/0.2294, allocations: 31.8 kB / 0.7253 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.2295, allocations: 87.89 kB / 0.7253 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2295, allocations: 3.938 kB / 0.7253 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2295, allocations: 0 / 0.7253 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.2295, allocations: 4 kB / 0.7254 GB, free: 1.766 MB / 0.5294 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.0006368/0.2302, allocations: 388.8 kB / 0.7257 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.2302, allocations: 8.031 kB / 0.7257 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.153e-05/0.2303, allocations: 38.75 kB / 0.7258 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.784e-05/0.2303, allocations: 4.922 kB / 0.7258 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.2305, allocations: 170.9 kB / 0.7259 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.2305, allocations: 4.375 kB / 0.7259 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.2305, allocations: 8.375 kB / 0.7259 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.2307, allocations: 77.91 kB / 0.726 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.2308, allocations: 3.984 kB / 0.726 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.2308, allocations: 0 / 0.726 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2308, allocations: 0 / 0.726 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001907/0.231, allocations: 43.95 kB / 0.7261 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007029/0.2317, allocations: 328.6 kB / 0.7264 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/0.2319, allocations: 54.55 kB / 0.7264 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.232, allocations: 32.95 kB / 0.7265 GB, free: 476 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.828e-05/0.232, allocations: 0 / 0.7265 GB, free: 476 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002558/0.2323, allocations: 83.36 kB / 0.7265 GB, free: 380 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.2323, allocations: 0 / 0.7265 GB, free: 380 kB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0004458/0.2327, allocations: 125.6 kB / 0.7267 GB, free: 248 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.2328, allocations: 59.39 kB / 0.7267 GB, free: 176 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.2329, allocations: 113.8 kB / 0.7268 GB, free: 52 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.2329, allocations: 37.64 kB / 0.7269 GB, free: 8 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.741e-05/0.233, allocations: 96.08 kB / 0.727 GB, free: 15.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.233, allocations: 19.89 kB / 0.727 GB, free: 15.89 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.617e-05/0.2331, allocations: 29.7 kB / 0.727 GB, free: 15.86 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.2332, allocations: 318.8 kB / 0.7273 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.2333, allocations: 31.97 kB / 0.7273 GB, free: 15.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.2335, allocations: 73.98 kB / 0.7274 GB, free: 15.41 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002505/0.2337, allocations: 109.8 kB / 0.7275 GB, free: 15.28 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.2337, allocations: 4 kB / 0.7275 GB, free: 15.28 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000346/0.2341, allocations: 125.5 kB / 0.7276 GB, free: 15.15 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.2341, allocations: 4 kB / 0.7276 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2341, allocations: 4.219 kB / 0.7276 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.2341, allocations: 7.938 kB / 0.7277 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.2343, allocations: 27.91 kB / 0.7277 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.2343, allocations: 4 kB / 0.7277 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.704e-05/0.2344, allocations: 11.89 kB / 0.7277 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.2344, allocations: 7.984 kB / 0.7277 GB, free: 15.08 MB / 0.545 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.0001155/0.2345, allocations: 127.3 kB / 0.7278 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.22e-05/0.2345, allocations: 0 / 0.7278 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.213e-05/0.2345, allocations: 16.38 kB / 0.7278 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.2345, allocations: 0 / 0.7278 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2346, allocations: 0 / 0.7278 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2346, allocations: 0 / 0.7278 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005391/0.2351, allocations: 374.4 kB / 0.7282 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.2351, allocations: 0 / 0.7282 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.144e-05/0.2352, allocations: 11.98 kB / 0.7282 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.2352, allocations: 0 / 0.7282 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.2352, allocations: 8 kB / 0.7282 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.2352, allocations: 3.938 kB / 0.7282 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2352, allocations: 3.938 kB / 0.7282 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003271/0.2355, allocations: 199.4 kB / 0.7284 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.238e-05/0.2356, allocations: 85.06 kB / 0.7285 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.2356, allocations: 0 / 0.7285 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.882e-05/0.2357, allocations: 15.92 kB / 0.7285 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.785e-05/0.2357, allocations: 8 kB / 0.7285 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.2357, allocations: 7.984 kB / 0.7285 GB, free: 14.13 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.836e-05/0.2358, allocations: 94.83 kB / 0.7286 GB, free: 14.04 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2358, allocations: 4 kB / 0.7286 GB, free: 14.04 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002645/0.2361, allocations: 19.92 kB / 0.7286 GB, free: 14.02 MB / 0.545 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.0007289/0.2368, allocations: 0.732 MB / 0.7294 GB, free: 13.26 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003057/0.2371, allocations: 76.42 kB / 0.7294 GB, free: 13.19 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2371, allocations: 4.375 kB / 0.7294 GB, free: 13.18 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.2372, allocations: 35.97 kB / 0.7295 GB, free: 13.15 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.2375, allocations: 16.08 kB / 0.7295 GB, free: 13.13 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002019/0.2395, allocations: 1.514 MB / 0.731 GB, free: 11.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.2399, allocations: 0.6912 MB / 0.7316 GB, free: 10.78 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.626e-05/0.2399, allocations: 7.938 kB / 0.7316 GB, free: 10.77 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.727e-05/0.24, allocations: 27.42 kB / 0.7317 GB, free: 10.75 MB / 0.545 GB Notification: Performance of SimCode: time 3.81e-07/0.24, allocations: 0 / 0.7317 GB, free: 10.75 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02601/0.266, allocations: 2.109 MB / 0.7337 GB, free: 8.781 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.078/8.344, allocations: 8.062 kB / 0.7337 GB, free: 8.773 MB / 0.545 GB " [Timeout remaining time 652] (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.334397203056142] Failed to read output from testmodel.py, exit status != 0: 8.416857327101752 8.44453898 8.209763154000001 Calling exit ...