Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001229/0.001229, allocations: 109 kB / 20.48 MB, free: 1.473 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.001412/0.001412, allocations: 211.5 kB / 23.79 MB, free: 4.684 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.421/1.421, allocations: 230.6 MB / 257.6 MB, free: 7.992 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.973/0.973, allocations: 150 MB / 464 MB, free: 10.53 MB / 366.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.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="cs",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.002084/0.002084, allocations: 66.55 kB / 0.642 GB, free: 10.44 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1839, allocations: 89.17 MB / 0.7291 GB, free: 1.34 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.4742/0.6581, allocations: 57.25 MB / 0.785 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02747/0.6856, allocations: 18.21 MB / 0.8028 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005017/0.6906, allocations: 106 kB / 0.8029 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004293/0.6949, allocations: 0.9236 MB / 0.8038 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01203/0.7069, allocations: 2.68 MB / 0.8064 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006273/0.7132, allocations: 1.595 MB / 0.808 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.03223/0.7454, allocations: 21.85 MB / 0.8293 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01371/0.7591, allocations: 7.088 MB / 0.8362 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01982/0.779, allocations: 7.536 MB / 0.8436 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01554/0.7945, allocations: 6.58 MB / 0.85 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.004058/0.7986, allocations: 0.9375 MB / 0.8509 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009234/0.8078, allocations: 1.776 MB / 0.8527 GB, free: 9.172 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.005481/0.8133, allocations: 2.441 MB / 0.855 GB, free: 6.723 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.01339/0.8267, allocations: 4.715 MB / 0.8596 GB, free: 1.988 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0223/0.849, allocations: 13.34 MB / 0.8727 GB, free: 4.609 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.849, allocations: 7.938 kB / 0.8727 GB, free: 4.602 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.064e-06/0.849, allocations: 4 kB / 0.8727 GB, free: 4.598 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0005276/0.8495, allocations: 0 / 0.8727 GB, free: 4.598 MB / 0.6387 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.02584/0.8753, allocations: 8.634 MB / 0.8811 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.8754, allocations: 8.031 kB / 0.8811 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002026/0.8756, allocations: 160.4 kB / 0.8813 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003303/0.8789, allocations: 0.8422 MB / 0.8821 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005718/0.8846, allocations: 0.9537 MB / 0.883 GB, free: 9.902 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0163/0.9009, allocations: 6.786 MB / 0.8897 GB, free: 3.035 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005748/0.9015, allocations: 460.2 kB / 0.8901 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00255/0.904, allocations: 0.5937 MB / 0.8907 GB, free: 1.988 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02452/0.9285, allocations: 9.04 MB / 0.8995 GB, free: 8.621 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002154/0.9288, allocations: 19.83 kB / 0.8995 GB, free: 8.602 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001705/0.9305, allocations: 268 kB / 0.8998 GB, free: 8.34 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002139/0.9307, allocations: 179.9 kB / 0.8999 GB, free: 8.164 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01744/0.9481, allocations: 7.469 MB / 0.9072 GB, free: 0.6875 MB / 0.67 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.06237/1.01, allocations: 36 MB / 0.9424 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007734/1.018, allocations: 4.014 MB / 0.9463 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005918/1.024, allocations: 3.035 MB / 0.9493 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001143/1.025, allocations: 218.2 kB / 0.9495 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005281/1.031, allocations: 2.39 MB / 0.9518 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002919/1.033, allocations: 397 kB / 0.9522 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=317): time 1.027e-05/1.033, allocations: 0 / 0.9522 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of matching and sorting (n=317): time 0.01473/1.048, allocations: 6.996 MB / 0.959 GB, free: 9.477 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.01e-05/1.048, allocations: 85.91 kB / 0.9591 GB, free: 9.379 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01026/1.059, allocations: 5.686 MB / 0.9647 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.00083/1.059, allocations: 89.7 kB / 0.9648 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.003868/1.063, allocations: 3.275 MB / 0.968 GB, free: 328 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.002028/1.065, allocations: 1.166 MB / 0.9691 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001635/1.067, allocations: 0.8586 MB / 0.9699 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001443/1.067, allocations: 305.1 kB / 0.9702 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00375/1.071, allocations: 2.16 MB / 0.9723 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005308/1.076, allocations: 3.705 MB / 0.976 GB, free: 7.395 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009811/1.086, allocations: 6.319 MB / 0.9821 GB, free: 368 kB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.745e-05/1.086, allocations: 16 kB / 0.9821 GB, free: 352 kB / 0.7481 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01534/1.101, allocations: 6.783 MB / 0.9888 GB, free: 9.512 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001162/1.101, allocations: 65.66 kB / 0.9888 GB, free: 9.441 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.168e-05/1.102, allocations: 48 kB / 0.9889 GB, free: 9.395 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/1.103, allocations: 436.3 kB / 0.9893 GB, free: 8.965 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004174/1.107, allocations: 1.002 MB / 0.9903 GB, free: 7.961 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006576/1.113, allocations: 5.496 MB / 0.9956 GB, free: 2.246 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005023/1.118, allocations: 291.5 kB / 0.9959 GB, free: 1.961 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008423/1.119, allocations: 220 kB / 0.9961 GB, free: 1.746 MB / 0.7637 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.004964/1.124, allocations: 2.479 MB / 0.9985 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001748/1.126, allocations: 0.5551 MB / 0.9991 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009677/1.136, allocations: 5.252 MB / 1.004 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.633e-05/1.136, allocations: 32 kB / 1.004 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/1.136, allocations: 4 kB / 1.004 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007387/1.143, allocations: 4.524 MB / 1.009 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02393/1.167, allocations: 12.01 MB / 1.02 GB, free: 8.582 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/1.167, allocations: 0 / 1.02 GB, free: 8.582 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002814/1.17, allocations: 0.6438 MB / 1.021 GB, free: 7.938 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009324/1.171, allocations: 379.4 kB / 1.021 GB, free: 7.562 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002944/1.171, allocations: 83.95 kB / 1.021 GB, free: 7.48 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006179/1.177, allocations: 5.422 MB / 1.027 GB, free: 1.836 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.177, allocations: 0 / 1.027 GB, free: 1.836 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01354/1.191, allocations: 7.787 MB / 1.034 GB, free: 9.953 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003888/1.195, allocations: 1.135 MB / 1.035 GB, free: 8.812 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001367/1.196, allocations: 63.98 kB / 1.036 GB, free: 8.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00343/1.199, allocations: 203.8 kB / 1.036 GB, free: 8.551 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000554/1.2, allocations: 210.1 kB / 1.036 GB, free: 8.344 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003724/1.2, allocations: 139.8 kB / 1.036 GB, free: 8.207 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.007011/1.207, allocations: 3.971 MB / 1.04 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.3e-07/1.207, allocations: 4 kB / 1.04 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.007488/1.215, allocations: 2.027 MB / 1.042 GB, free: 2.223 MB / 0.8106 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.01457/1.229, allocations: 8.713 MB / 1.05 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.009605/1.239, allocations: 5.24 MB / 1.056 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/1.239, allocations: 5.875 kB / 1.056 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.00449/1.244, allocations: 2.381 MB / 1.058 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01753/1.261, allocations: 3.392 MB / 1.061 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4635/1.725, allocations: 52.63 MB / 1.113 GB, free: 281.9 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007514/1.732, allocations: 4.63 MB / 1.117 GB, free: 280.4 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.009009/1.741, allocations: 2.081 MB / 1.119 GB, free: 280.3 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005053/1.746, allocations: 2.678 MB / 1.122 GB, free: 278.2 MB / 0.8575 GB Notification: Performance of SimCode: time 2.124e-06/1.746, allocations: 0 / 1.122 GB, free: 278.2 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2228/1.969, allocations: 164.3 MB / 1.282 GB, free: 133.9 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.67/24.63, allocations: 4.062 kB / 1.282 GB, free: 133.9 MB / 0.8575 GB " [Timeout remaining time 635] (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --stepSize=5.76 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > IBPSA_latest_IBPSA.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 28.79568980395561] Failed to read output from testmodel.py, exit status != 0: 24.885968198010232 24.894474026 24.042810414 Calling exit ...