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.00128/0.00128, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001392/0.001392, allocations: 215.8 kB / 22.24 MB, free: 4.852 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.422/1.422, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] 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.002561/0.002561, allocations: 291.4 kB / 312.7 MB, free: 2.66 MB / 238.1 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 1.224/1.224, allocations: 180.6 MB / 0.5369 GB, free: 14.57 MB / 382.1 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: "" <> buildModelFMU(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002886/0.002886, allocations: 95.08 kB / 0.7395 GB, free: 28.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1637, allocations: 95.38 MB / 0.8326 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05948/0.2232, allocations: 51.56 MB / 0.883 GB, free: 4.578 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02599/0.2492, allocations: 16.83 MB / 0.8994 GB, free: 3.699 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00247/0.2517, allocations: 99.19 kB / 0.8995 GB, free: 3.602 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002792/0.2544, allocations: 0.9118 MB / 0.9004 GB, free: 2.684 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007272/0.2617, allocations: 2.663 MB / 0.903 GB, free: 8 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004125/0.2658, allocations: 1.574 MB / 0.9045 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.02358/0.2894, allocations: 22.01 MB / 0.926 GB, free: 8.379 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01142/0.3009, allocations: 7.09 MB / 0.933 GB, free: 1.168 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01512/0.316, allocations: 7.381 MB / 0.9402 GB, free: 9.805 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0135/0.3295, allocations: 6.982 MB / 0.947 GB, free: 2.797 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.003548/0.333, allocations: 0.9413 MB / 0.9479 GB, free: 1.855 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007476/0.3405, allocations: 1.573 MB / 0.9494 GB, free: 288 kB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.004753/0.3452, allocations: 2.434 MB / 0.9518 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.009075/0.3543, allocations: 3.856 MB / 0.9556 GB, free: 9.969 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.02186/0.3762, allocations: 13.33 MB / 0.9686 GB, free: 12.6 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.3762, allocations: 0 / 0.9686 GB, free: 12.6 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.284e-06/0.3762, allocations: 0 / 0.9686 GB, free: 12.6 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0005524/0.3767, allocations: 0 / 0.9686 GB, free: 12.6 MB / 0.7169 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.02447/0.4012, allocations: 8.642 MB / 0.977 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.4013, allocations: 13.34 kB / 0.9771 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002369/0.4036, allocations: 0.8461 MB / 0.9779 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004055/0.4077, allocations: 0.9605 MB / 0.9788 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4082/0.8159, allocations: 6.761 MB / 0.9854 GB, free: 134 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000567/0.8165, allocations: 459.7 kB / 0.9859 GB, free: 133.8 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002536/0.819, allocations: 0.5961 MB / 0.9864 GB, free: 133.6 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02379/0.8428, allocations: 10.09 MB / 0.9963 GB, free: 128.5 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001967/0.843, allocations: 24.45 kB / 0.9963 GB, free: 128.5 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009407/0.844, allocations: 263.3 kB / 0.9966 GB, free: 128.3 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003377/0.8443, allocations: 191.2 kB / 0.9967 GB, free: 128.3 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01608/0.8604, allocations: 7.45 MB / 1.004 GB, free: 125.4 MB / 0.7169 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.04608/0.9065, allocations: 27.25 MB / 1.031 GB, free: 100.9 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004936/0.9114, allocations: 3.975 MB / 1.035 GB, free: 97 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003549/0.9149, allocations: 3.033 MB / 1.037 GB, free: 93.97 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008716/0.9158, allocations: 196.7 kB / 1.038 GB, free: 93.78 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0033/0.9191, allocations: 3.462 MB / 1.041 GB, free: 90.03 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002478/0.9216, allocations: 393.7 kB / 1.041 GB, free: 89.74 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=317): time 8.917e-06/0.9216, allocations: 0 / 1.041 GB, free: 89.74 MB / 0.7169 GB Notification: Performance of matching and sorting (n=317): time 0.01109/0.9327, allocations: 7.007 MB / 1.048 GB, free: 82.73 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.9327, allocations: 89.91 kB / 1.048 GB, free: 82.62 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007704/0.9404, allocations: 5.762 MB / 1.054 GB, free: 76.95 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0007747/0.9412, allocations: 93.64 kB / 1.054 GB, free: 76.85 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002393/0.9436, allocations: 3.269 MB / 1.057 GB, free: 73.66 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001583/0.9452, allocations: 1.168 MB / 1.058 GB, free: 72.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001449/0.9466, allocations: 0.8624 MB / 1.059 GB, free: 71.63 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.028e-05/0.9467, allocations: 301.1 kB / 1.06 GB, free: 71.33 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003498/0.9502, allocations: 2.191 MB / 1.062 GB, free: 69.13 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004158/0.9544, allocations: 3.83 MB / 1.065 GB, free: 64.56 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007348/0.9617, allocations: 6.324 MB / 1.072 GB, free: 57.59 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.548e-05/0.9617, allocations: 12 kB / 1.072 GB, free: 57.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01005/0.9718, allocations: 6.826 MB / 1.078 GB, free: 50.69 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.268e-05/0.9719, allocations: 51.58 kB / 1.078 GB, free: 50.64 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.232e-05/0.9719, allocations: 48.84 kB / 1.078 GB, free: 50.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008609/0.9728, allocations: 435.1 kB / 1.079 GB, free: 50.16 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003451/0.9762, allocations: 1.006 MB / 1.08 GB, free: 49.15 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004397/0.9806, allocations: 5.439 MB / 1.085 GB, free: 43.51 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004891/0.9855, allocations: 287.6 kB / 1.085 GB, free: 43.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006807/0.9862, allocations: 216 kB / 1.086 GB, free: 43.02 MB / 0.7169 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.004102/0.9903, allocations: 2.489 MB / 1.088 GB, free: 40.52 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001688/0.992, allocations: 0.5551 MB / 1.089 GB, free: 39.96 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007252/0.9992, allocations: 5.261 MB / 1.094 GB, free: 34.66 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.621e-05/0.9993, allocations: 35.98 kB / 1.094 GB, free: 34.62 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.9993, allocations: 7.938 kB / 1.094 GB, free: 34.62 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005114/1.004, allocations: 4.522 MB / 1.098 GB, free: 29.99 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01933/1.024, allocations: 11.07 MB / 1.109 GB, free: 18.89 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/1.024, allocations: 0 / 1.109 GB, free: 18.89 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002453/1.026, allocations: 0.6438 MB / 1.11 GB, free: 18.24 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007342/1.027, allocations: 373.3 kB / 1.11 GB, free: 17.87 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002123/1.027, allocations: 83.89 kB / 1.11 GB, free: 17.79 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004199/1.031, allocations: 5.337 MB / 1.115 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.031, allocations: 7.656 kB / 1.115 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01083/1.042, allocations: 7.744 MB / 1.123 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004323/1.046, allocations: 1.147 MB / 1.124 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00174/1.048, allocations: 67.98 kB / 1.124 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004124/1.052, allocations: 190.3 kB / 1.124 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004775/1.053, allocations: 206 kB / 1.124 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00035/1.053, allocations: 151.8 kB / 1.124 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00646/1.06, allocations: 3.965 MB / 1.128 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.91e-07/1.06, allocations: 0 / 1.128 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.007795/1.067, allocations: 2.027 MB / 1.13 GB, free: 12.67 MB / 0.7325 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.01679/1.084, allocations: 8.681 MB / 1.139 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01038/1.095, allocations: 5.251 MB / 1.144 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.495e-05/1.095, allocations: 7.781 kB / 1.144 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.004687/1.099, allocations: 2.361 MB / 1.146 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01946/1.119, allocations: 3.393 MB / 1.15 GB, free: 8.914 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1162/1.235, allocations: 52.75 MB / 1.201 GB, free: 2.012 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009556/1.244, allocations: 4.145 MB / 1.205 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.008828/1.253, allocations: 2.07 MB / 1.207 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00689/1.26, allocations: 2.678 MB / 1.21 GB, free: 9.098 MB / 0.8106 GB Notification: Performance of SimCode: time 1.854e-06/1.26, allocations: 0 / 1.21 GB, free: 9.098 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6587/1.919, allocations: 171.1 MB / 1.377 GB, free: 301.3 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.8/20.72, allocations: 10.75 kB / 1.377 GB, free: 301.3 MB / 0.92 GB " [Timeout remaining time 639] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --stepSize=5.76 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > BuildingSystems_BuildingSystems.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 25.155376022681594] Failed to read output from testmodel.py, exit status != 0: 20.926758705172688 20.943054065 20.563598855 Calling exit ...