Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.0008585/0.0008585, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008869/0.0008869, allocations: 174.3 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8832/0.8832, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001421/0.001421, allocations: 238.9 kB / 260.2 MB, free: 13.04 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6967/0.6967, allocations: 138.4 MB / 455.1 MB, free: 30 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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: translateModel(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.476e-06/3.476e-06, allocations: 4 kB / 0.6475 GB, free: 1.391 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.74e-05/3.088e-05, allocations: 6.219 kB / 0.6475 GB, free: 1.383 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.2779/0.2779, allocations: 51.15 MB / 0.6975 GB, free: 24.13 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01735/0.2952, allocations: 16.77 MB / 0.7138 GB, free: 12.73 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002841/0.2981, allocations: 101.8 kB / 0.7139 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002219/0.3003, allocations: 0.9097 MB / 0.7148 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.005715/0.306, allocations: 2.742 MB / 0.7175 GB, free: 10.41 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002668/0.3087, allocations: 1.66 MB / 0.7191 GB, free: 9.086 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.01381/0.3225, allocations: 22.13 MB / 0.7407 GB, free: 11.55 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007724/0.3302, allocations: 7.094 MB / 0.7476 GB, free: 4.336 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01816/0.3484, allocations: 10.1 MB / 0.7575 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0107/0.3591, allocations: 6.405 MB / 0.7638 GB, free: 3.855 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.001662/0.3607, allocations: 0.9375 MB / 0.7647 GB, free: 2.918 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004306/0.365, allocations: 1.592 MB / 0.7662 GB, free: 1.324 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.001607/0.3667, allocations: 2.496 MB / 0.7687 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.004851/0.3715, allocations: 3.337 MB / 0.7719 GB, free: 11.48 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.01329/0.3848, allocations: 13.48 MB / 0.7851 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.3848, allocations: 0 / 0.7851 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.405e-06/0.3848, allocations: 0 / 0.7851 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.000346/0.3851, allocations: 0 / 0.7851 GB, free: 13.95 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.01251/0.3977, allocations: 8.56 MB / 0.7935 GB, free: 5.309 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.3977, allocations: 17.92 kB / 0.7935 GB, free: 5.293 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00198/0.3997, allocations: 0.9527 MB / 0.7944 GB, free: 4.336 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008387/0.4081, allocations: 6.769 MB / 0.801 GB, free: 13.49 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002133/0.4083, allocations: 460.6 kB / 0.8015 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006594/0.4089, allocations: 0.594 MB / 0.802 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0113/0.4202, allocations: 10.11 MB / 0.8119 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.587e-05/0.4203, allocations: 15.88 kB / 0.8119 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004223/0.4208, allocations: 264 kB / 0.8122 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004093/0.4212, allocations: 176 kB / 0.8123 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008764/0.4299, allocations: 7.457 MB / 0.8196 GB, free: 9.852 MB / 0.6511 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02633/0.4563, allocations: 26.33 MB / 0.8453 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00402/0.4603, allocations: 3.969 MB / 0.8492 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002778/0.4631, allocations: 3.033 MB / 0.8522 GB, free: 8.086 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005103/0.4636, allocations: 206.3 kB / 0.8524 GB, free: 7.883 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003003/0.4666, allocations: 3.448 MB / 0.8557 GB, free: 4.141 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001502/0.4681, allocations: 325.8 kB / 0.8561 GB, free: 3.82 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=317): time 6.612e-06/0.4681, allocations: 3.938 kB / 0.8561 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of matching and sorting (n=317): time 0.007884/0.476, allocations: 6.938 MB / 0.8628 GB, free: 12.83 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.476, allocations: 85.91 kB / 0.8629 GB, free: 12.73 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004682/0.4807, allocations: 4.981 MB / 0.8678 GB, free: 7.746 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002077/0.4809, allocations: 89.64 kB / 0.8679 GB, free: 7.652 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002267/0.4832, allocations: 3.271 MB / 0.8711 GB, free: 4.359 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007988/0.484, allocations: 1.154 MB / 0.8722 GB, free: 3.195 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000815/0.4848, allocations: 0.8507 MB / 0.873 GB, free: 2.332 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.906e-05/0.4849, allocations: 305.1 kB / 0.8733 GB, free: 2.031 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002138/0.487, allocations: 2.189 MB / 0.8754 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003026/0.49, allocations: 3.826 MB / 0.8792 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005537/0.4956, allocations: 6.323 MB / 0.8854 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.966e-05/0.4956, allocations: 16 kB / 0.8854 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.007201/0.5028, allocations: 6.757 MB / 0.892 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.138e-05/0.5028, allocations: 53.7 kB / 0.892 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.35e-05/0.5029, allocations: 52 kB / 0.8921 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005752/0.5034, allocations: 435.6 kB / 0.8925 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001848/0.5053, allocations: 1.006 MB / 0.8935 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003912/0.5092, allocations: 5.362 MB / 0.8987 GB, free: 6.293 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002439/0.5116, allocations: 291.7 kB / 0.899 GB, free: 6.008 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002222/0.5119, allocations: 217.4 kB / 0.8992 GB, free: 5.797 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003264/0.5151, allocations: 2.483 MB / 0.9016 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006406/0.5158, allocations: 0.493 MB / 0.9021 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005398/0.5212, allocations: 5.201 MB / 0.9072 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.078e-05/0.5212, allocations: 32 kB / 0.9072 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.5212, allocations: 12 kB / 0.9072 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004288/0.5255, allocations: 4.528 MB / 0.9116 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01162/0.5371, allocations: 10.44 MB / 0.9218 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.5371, allocations: 0 / 0.9218 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001375/0.5385, allocations: 0.6438 MB / 0.9225 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004846/0.539, allocations: 371.6 kB / 0.9228 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001431/0.5391, allocations: 91.89 kB / 0.9229 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003622/0.5427, allocations: 5.272 MB / 0.928 GB, free: 7.762 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5427, allocations: 8.125 kB / 0.9281 GB, free: 7.754 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2801/0.8229, allocations: 7.667 MB / 0.9355 GB, free: 231.8 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003025/0.8259, allocations: 1.074 MB / 0.9366 GB, free: 231.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004708/0.8264, allocations: 64.41 kB / 0.9367 GB, free: 231.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001503/0.8279, allocations: 202.2 kB / 0.9368 GB, free: 231.8 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003478/0.8282, allocations: 211.4 kB / 0.937 GB, free: 231.8 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002098/0.8284, allocations: 140.7 kB / 0.9372 GB, free: 231.8 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.003501/0.8319, allocations: 3.388 MB / 0.9405 GB, free: 231.5 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8319, allocations: 0 / 0.9405 GB, free: 231.5 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.004098/0.836, allocations: 2.083 MB / 0.9425 GB, free: 231.4 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007358/0.8368, allocations: 0.4894 MB / 0.943 GB, free: 231.2 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.005651/0.8424, allocations: 5.265 MB / 0.9481 GB, free: 229.3 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/0.8424, allocations: 3.938 kB / 0.9481 GB, free: 229.3 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.002207/0.8446, allocations: 2.359 MB / 0.9505 GB, free: 228.4 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006652/0.8513, allocations: 2.772 MB / 0.9532 GB, free: 227.7 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01492/0.8662, allocations: 13.71 MB / 0.9665 GB, free: 222 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003329/0.8695, allocations: 4.062 MB / 0.9705 GB, free: 220.9 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001511/0.8711, allocations: 462.3 kB / 0.971 GB, free: 220.9 MB / 0.7605 GB Notification: Performance of SimCode: time 2.034e-06/0.8711, allocations: 0 / 0.971 GB, free: 220.9 MB / 0.7605 GB Notification: Performance of Templates: time 0.1283/0.9993, allocations: 183 MB / 1.15 GB, free: 59.29 MB / 0.7605 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 19.26783117838204] Failed to read output from testmodel.py, exit status != 0: 1.0059808194637299 1.0119888400000001 0.625721318 Calling exit ...