Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.001699/0.001699, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.002062/0.002062, allocations: 214.2 kB / 23.78 MB, free: 4.555 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.411/1.411, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.9276/0.9276, allocations: 150 MB / 463.9 MB, free: 10.28 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.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",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.001894/0.001894, allocations: 65.34 kB / 0.642 GB, free: 9.898 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1742, allocations: 89.18 MB / 0.7291 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.5718/0.746, allocations: 165.5 MB / 0.8907 GB, free: 15.39 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01603/0.762, allocations: 12 MB / 0.9024 GB, free: 3.352 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001066/0.7631, allocations: 47.62 kB / 0.9024 GB, free: 3.305 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.7644, allocations: 437.1 kB / 0.9029 GB, free: 2.875 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002968/0.7674, allocations: 1.198 MB / 0.904 GB, free: 1.672 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001796/0.7692, allocations: 0.7352 MB / 0.9047 GB, free: 0.9414 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002854/0.772, allocations: 2.055 MB / 0.9068 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001002/0.773, allocations: 0.6216 MB / 0.9074 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004688/0.7777, allocations: 2.001 MB / 0.9093 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001744/0.7795, allocations: 0.7039 MB / 0.91 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001342/0.7796, allocations: 84 kB / 0.9101 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001619/0.7812, allocations: 0.7326 MB / 0.9108 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004541/0.7817, allocations: 394.8 kB / 0.9112 GB, free: 10.33 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005131/0.7822, allocations: 422.1 kB / 0.9116 GB, free: 9.914 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002153/0.7843, allocations: 1.487 MB / 0.913 GB, free: 8.422 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.7843, allocations: 0 / 0.913 GB, free: 8.422 MB / 0.6856 GB Notification: Performance of FrontEnd: time 4.739e-06/0.7843, allocations: 3.984 kB / 0.913 GB, free: 8.418 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.24e-05/0.7844, allocations: 0 / 0.913 GB, free: 8.418 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001879/0.7862, allocations: 1.197 MB / 0.9142 GB, free: 7.184 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.7863, allocations: 8.031 kB / 0.9142 GB, free: 7.176 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.071e-05/0.7863, allocations: 22.56 kB / 0.9142 GB, free: 7.156 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001393/0.7864, allocations: 118.5 kB / 0.9143 GB, free: 7.031 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001198/0.7876, allocations: 219.2 kB / 0.9146 GB, free: 6.816 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/0.7888, allocations: 0.6077 MB / 0.9151 GB, free: 6.18 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.417e-05/0.7888, allocations: 62.69 kB / 0.9152 GB, free: 6.121 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.7889, allocations: 79.95 kB / 0.9153 GB, free: 6.043 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/0.7905, allocations: 1.066 MB / 0.9163 GB, free: 4.859 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/0.7905, allocations: 4 kB / 0.9163 GB, free: 4.855 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.635e-05/0.7906, allocations: 28 kB / 0.9164 GB, free: 4.828 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.35e-05/0.7906, allocations: 25.31 kB / 0.9164 GB, free: 4.805 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.7916, allocations: 0.6216 MB / 0.917 GB, free: 4.184 MB / 0.6856 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.0044/0.796, allocations: 3.736 MB / 0.9206 GB, free: 316 kB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008427/0.7969, allocations: 464.8 kB / 0.9211 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003553/0.7972, allocations: 230.5 kB / 0.9213 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001508/0.7974, allocations: 31.92 kB / 0.9213 GB, free: 15.56 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.7974, allocations: 46.5 kB / 0.9214 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=43): time 2.073e-06/0.7974, allocations: 0 / 0.9214 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of matching and sorting (n=45): time 0.00282/0.8002, allocations: 1.531 MB / 0.9229 GB, free: 13.94 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.548e-05/0.8003, allocations: 110.8 kB / 0.923 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008818/0.8012, allocations: 0.7197 MB / 0.9237 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.147e-05/0.8012, allocations: 37.7 kB / 0.9237 GB, free: 13.03 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003522/0.8016, allocations: 420.6 kB / 0.9241 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000149/0.8017, allocations: 166.5 kB / 0.9243 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001941/0.8019, allocations: 122.3 kB / 0.9244 GB, free: 12.33 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.8021, allocations: 330 kB / 0.9247 GB, free: 12 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003089/0.8024, allocations: 189.2 kB / 0.9249 GB, free: 11.81 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006007/0.803, allocations: 0.5578 MB / 0.9254 GB, free: 11.12 MB / 0.7012 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002405/0.8054, allocations: 1.102 MB / 0.9265 GB, free: 9.938 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.8054, allocations: 0 / 0.9265 GB, free: 9.938 MB / 0.7012 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001072/0.8065, allocations: 0.6798 MB / 0.9272 GB, free: 9.25 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.8065, allocations: 8 kB / 0.9272 GB, free: 9.242 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/0.8065, allocations: 8 kB / 0.9272 GB, free: 9.234 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.637e-05/0.8065, allocations: 8 kB / 0.9272 GB, free: 9.227 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004765/0.807, allocations: 120.5 kB / 0.9273 GB, free: 9.109 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.951e-05/0.807, allocations: 19.92 kB / 0.9273 GB, free: 9.09 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005423/0.8076, allocations: 35.86 kB / 0.9274 GB, free: 9.055 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.666e-05/0.8076, allocations: 32 kB / 0.9274 GB, free: 9.023 MB / 0.7012 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0004249/0.808, allocations: 273.5 kB / 0.9277 GB, free: 8.746 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/0.8082, allocations: 87.44 kB / 0.9277 GB, free: 8.66 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001559/0.8084, allocations: 87.66 kB / 0.9278 GB, free: 8.574 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.8084, allocations: 4 kB / 0.9278 GB, free: 8.57 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.8084, allocations: 4 kB / 0.9278 GB, free: 8.566 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008408/0.8092, allocations: 0.7011 MB / 0.9285 GB, free: 7.781 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002429/0.8117, allocations: 1.512 MB / 0.93 GB, free: 6.168 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.8117, allocations: 4.5 kB / 0.93 GB, free: 6.164 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004654/0.8121, allocations: 103.9 kB / 0.9301 GB, free: 6.062 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.8122, allocations: 4 kB / 0.9301 GB, free: 6.059 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.636e-05/0.8122, allocations: 16 kB / 0.9301 GB, free: 6.043 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-05/0.8122, allocations: 17.23 kB / 0.9301 GB, free: 6.027 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.8122, allocations: 4 kB / 0.9301 GB, free: 6.023 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.8134, allocations: 0.8697 MB / 0.931 GB, free: 5.086 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002929/0.8137, allocations: 139.4 kB / 0.9311 GB, free: 4.949 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.8138, allocations: 15.98 kB / 0.9311 GB, free: 4.934 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004184/0.8142, allocations: 20 kB / 0.9311 GB, free: 4.914 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.697e-05/0.8143, allocations: 43.81 kB / 0.9312 GB, free: 4.871 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.265e-05/0.8143, allocations: 16 kB / 0.9312 GB, free: 4.855 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.000673/0.815, allocations: 0.5146 MB / 0.9317 GB, free: 4.344 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/0.815, allocations: 0 / 0.9317 GB, free: 4.344 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0007138/0.8157, allocations: 196 kB / 0.9319 GB, free: 4.152 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * 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 Backend phase and start with SimCode phase: time 0.001898/0.8176, allocations: 1.512 MB / 0.9334 GB, free: 2.578 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0008042/0.8184, allocations: 450.1 kB / 0.9338 GB, free: 2.141 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/0.8184, allocations: 4 kB / 0.9338 GB, free: 2.137 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0003063/0.8187, allocations: 208.2 kB / 0.934 GB, free: 1.934 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00198/0.8207, allocations: 482.1 kB / 0.9345 GB, free: 1.496 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008808/0.8295, allocations: 6.636 MB / 0.9409 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004868/0.83, allocations: 440.8 kB / 0.9414 GB, free: 10 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000664/0.8307, allocations: 203 kB / 0.9416 GB, free: 9.801 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004187/0.8311, allocations: 295.3 kB / 0.9418 GB, free: 9.512 MB / 0.7169 GB Notification: Performance of SimCode: time 9.72e-07/0.8311, allocations: 7.938 kB / 0.9418 GB, free: 9.504 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05558/0.8867, allocations: 24.27 MB / 0.9655 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/13.3, allocations: 11.14 kB / 0.9656 GB, free: 1.836 MB / 0.7325 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.099739804980345] Failed to read output from testmodel.py, exit status != 0: 13.478647788986564 13.504023065 12.714926641 Calling exit ...