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.001314/0.001314, allocations: 111.3 kB / 17.12 MB, free: 5.926 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.001602/0.001602, allocations: 204 kB / 20.09 MB, free: 2.977 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.466/1.466, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.9907/0.9907, allocations: 150 MB / 459.5 MB, free: 5.348 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.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",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.001939/0.001939, allocations: 69.52 kB / 0.6361 GB, free: 30.41 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1574, allocations: 89.13 MB / 0.7232 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.6155/0.7728, allocations: 190.9 MB / 0.9096 GB, free: 2.559 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01377/0.7866, allocations: 13.15 MB / 0.9224 GB, free: 2.27 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001529/0.7881, allocations: 48.91 kB / 0.9225 GB, free: 2.27 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001262/0.7894, allocations: 438.5 kB / 0.9229 GB, free: 2.262 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002794/0.7922, allocations: 1.198 MB / 0.9241 GB, free: 2.207 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001626/0.7938, allocations: 0.7083 MB / 0.9248 GB, free: 2.188 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002072/0.7959, allocations: 2.006 MB / 0.9267 GB, free: 2.188 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008012/0.7967, allocations: 0.6975 MB / 0.9274 GB, free: 2.105 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003707/0.8004, allocations: 2.021 MB / 0.9294 GB, free: 2.016 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001306/0.8017, allocations: 0.7046 MB / 0.9301 GB, free: 1.906 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.8018, allocations: 78.47 kB / 0.9301 GB, free: 1.906 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001452/0.8033, allocations: 0.9127 MB / 0.931 GB, free: 1.898 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002983/0.8036, allocations: 392.9 kB / 0.9314 GB, free: 1.852 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.000398/0.804, allocations: 0.4983 MB / 0.9319 GB, free: 1.711 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001605/0.8056, allocations: 1.5 MB / 0.9334 GB, free: 1.5 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.8056, allocations: 0 / 0.9334 GB, free: 1.5 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.313e-06/0.8056, allocations: 0 / 0.9334 GB, free: 1.5 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.326e-05/0.8056, allocations: 2.625 kB / 0.9334 GB, free: 1.5 MB / 0.67 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.001702/0.8073, allocations: 1.271 MB / 0.9346 GB, free: 16.76 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.8073, allocations: 10.19 kB / 0.9346 GB, free: 16.76 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001242/0.8074, allocations: 119.5 kB / 0.9347 GB, free: 16.72 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/0.8085, allocations: 227.5 kB / 0.935 GB, free: 16.66 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009254/0.8094, allocations: 0.6868 MB / 0.9356 GB, free: 16.35 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.995e-05/0.8095, allocations: 58.41 kB / 0.9357 GB, free: 16.35 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.8096, allocations: 75.38 kB / 0.9357 GB, free: 16.35 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.8109, allocations: 0.9342 MB / 0.9367 GB, free: 16.08 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/0.8109, allocations: 0 / 0.9367 GB, free: 16.08 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.23e-05/0.811, allocations: 40.73 kB / 0.9367 GB, free: 16.08 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.458e-05/0.811, allocations: 28.52 kB / 0.9367 GB, free: 16.08 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008656/0.8119, allocations: 0.6166 MB / 0.9373 GB, free: 16.07 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.004136/0.816, allocations: 4.662 MB / 0.9419 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007119/0.8167, allocations: 0.5334 MB / 0.9424 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002869/0.817, allocations: 236.3 kB / 0.9426 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00018/0.8172, allocations: 100.7 kB / 0.9427 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.8172, allocations: 43.66 kB / 0.9428 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=43): time 2.154e-06/0.8172, allocations: 0 / 0.9428 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of matching and sorting (n=45): time 0.002658/0.8199, allocations: 1.603 MB / 0.9443 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.904e-05/0.8199, allocations: 118 kB / 0.9444 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007678/0.8207, allocations: 0.7108 MB / 0.9451 GB, free: 10.99 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.45e-05/0.8208, allocations: 36.92 kB / 0.9452 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003231/0.8211, allocations: 426.9 kB / 0.9456 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/0.8212, allocations: 169.3 kB / 0.9457 GB, free: 10.49 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/0.8214, allocations: 118.1 kB / 0.9459 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.8215, allocations: 330.3 kB / 0.9462 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002777/0.8218, allocations: 192.7 kB / 0.9464 GB, free: 10.05 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004813/0.8223, allocations: 415.2 kB / 0.9467 GB, free: 9.715 MB / 0.6856 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.002183/0.8245, allocations: 1.18 MB / 0.9479 GB, free: 9.059 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.8245, allocations: 6.062 kB / 0.9479 GB, free: 9.055 MB / 0.6856 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009309/0.8254, allocations: 0.6753 MB / 0.9486 GB, free: 8.801 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.8254, allocations: 9.594 kB / 0.9486 GB, free: 8.801 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.8254, allocations: 12.8 kB / 0.9486 GB, free: 8.793 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/0.8255, allocations: 11.06 kB / 0.9486 GB, free: 8.793 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004097/0.8259, allocations: 123.2 kB / 0.9487 GB, free: 8.789 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.524e-05/0.8259, allocations: 14.09 kB / 0.9487 GB, free: 8.789 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005195/0.8264, allocations: 28.56 kB / 0.9488 GB, free: 8.777 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.054e-05/0.8265, allocations: 30.22 kB / 0.9488 GB, free: 8.77 MB / 0.6856 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.0003396/0.8268, allocations: 273.3 kB / 0.949 GB, free: 8.59 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/0.827, allocations: 88.11 kB / 0.9491 GB, free: 8.543 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001793/0.8271, allocations: 96.83 kB / 0.9492 GB, free: 8.477 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.8271, allocations: 4.438 kB / 0.9492 GB, free: 8.477 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.8272, allocations: 0 / 0.9492 GB, free: 8.477 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007311/0.8279, allocations: 0.7025 MB / 0.9499 GB, free: 7.918 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002283/0.8302, allocations: 1.651 MB / 0.9515 GB, free: 6.938 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.8302, allocations: 5.188 kB / 0.9515 GB, free: 6.938 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000412/0.8306, allocations: 95.42 kB / 0.9516 GB, free: 6.922 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.341e-06/0.8306, allocations: 5.969 kB / 0.9516 GB, free: 6.922 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-05/0.8306, allocations: 11.72 kB / 0.9516 GB, free: 6.918 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.203e-06/0.8306, allocations: 11.67 kB / 0.9516 GB, free: 6.914 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.8306, allocations: 6.969 kB / 0.9517 GB, free: 6.914 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.8317, allocations: 0.8726 MB / 0.9525 GB, free: 6.309 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002639/0.8319, allocations: 210.9 kB / 0.9527 GB, free: 6.125 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.052e-05/0.832, allocations: 20.47 kB / 0.9527 GB, free: 6.113 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004147/0.8325, allocations: 12.69 kB / 0.9527 GB, free: 6.109 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.99e-05/0.8325, allocations: 48.02 kB / 0.9528 GB, free: 6.082 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.031e-05/0.8326, allocations: 19.94 kB / 0.9528 GB, free: 6.078 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005712/0.8331, allocations: 0.507 MB / 0.9533 GB, free: 5.793 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8331, allocations: 4 kB / 0.9533 GB, free: 5.789 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0006613/0.8338, allocations: 200.5 kB / 0.9535 GB, free: 5.77 MB / 0.6856 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.001624/0.8354, allocations: 1.496 MB / 0.955 GB, free: 4.609 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0007028/0.8361, allocations: 466.1 kB / 0.9554 GB, free: 4.426 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.8361, allocations: 2.125 kB / 0.9554 GB, free: 4.426 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002662/0.8364, allocations: 206.2 kB / 0.9556 GB, free: 4.352 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002004/0.8384, allocations: 474.7 kB / 0.9561 GB, free: 4.121 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008347/0.8467, allocations: 6.642 MB / 0.9625 GB, free: 15.66 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006965/0.8474, allocations: 1.034 MB / 0.9635 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0005712/0.848, allocations: 198.5 kB / 0.9637 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004051/0.8484, allocations: 296.5 kB / 0.964 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of SimCode: time 6.01e-07/0.8484, allocations: 0 / 0.964 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05258/0.901, allocations: 22.29 MB / 0.9858 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.048/9.949, allocations: 9.484 kB / 0.9858 GB, free: 10.13 MB / 0.7169 GB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 13.9381162149366] Failed to read output from testmodel.py, exit status != 0: 10.034239761997014 10.058751496 9.24886042 Calling exit ...