Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.0009687/0.0009687, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001678/0.001678, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8907/0.8907, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.001494/0.001494, allocations: 240.2 kB / 259.4 MB, free: 13.01 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.6843/0.6843, allocations: 138.4 MB / 454.3 MB, free: 29.97 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: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.6463 GB, free: 1.828 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.977e-05/2.133e-05, allocations: 8.891 kB / 0.6463 GB, free: 1.82 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.3836/0.3837, allocations: 165.3 MB / 0.8077 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01006/0.3937, allocations: 11.93 MB / 0.8194 GB, free: 9.711 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008935/0.3946, allocations: 39.69 kB / 0.8194 GB, free: 9.672 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.00104/0.3957, allocations: 409.2 kB / 0.8198 GB, free: 9.27 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.001796/0.3975, allocations: 0.9869 MB / 0.8208 GB, free: 8.277 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001472/0.3989, allocations: 0.7776 MB / 0.8215 GB, free: 7.504 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.001616/0.4005, allocations: 1.519 MB / 0.823 GB, free: 5.984 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000649/0.4012, allocations: 0.4989 MB / 0.8235 GB, free: 5.473 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002873/0.4041, allocations: 1.93 MB / 0.8254 GB, free: 3.535 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009911/0.4051, allocations: 469.7 kB / 0.8258 GB, free: 3.082 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 6.886e-05/0.4051, allocations: 52 kB / 0.8259 GB, free: 3.031 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.4061, allocations: 0.7362 MB / 0.8266 GB, free: 2.293 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002141/0.4063, allocations: 307 kB / 0.8269 GB, free: 1.992 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0004094/0.4068, allocations: 259.4 kB / 0.8271 GB, free: 1.738 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001225/0.408, allocations: 1.18 MB / 0.8283 GB, free: 0.5547 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.408, allocations: 0 / 0.8283 GB, free: 0.5547 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.352e-06/0.408, allocations: 4 kB / 0.8283 GB, free: 0.5508 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.408, allocations: 0.6562 kB / 0.8283 GB, free: 0.5508 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001031/0.409, allocations: 0.9905 MB / 0.8293 GB, free: 15.53 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.4091, allocations: 9.938 kB / 0.8293 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.436e-05/0.4092, allocations: 110.5 kB / 0.8294 GB, free: 15.4 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006064/0.4098, allocations: 191.3 kB / 0.8296 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000624/0.4104, allocations: 499.8 kB / 0.83 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.506e-05/0.4104, allocations: 45.31 kB / 0.8301 GB, free: 14.65 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.759e-05/0.4105, allocations: 56.66 kB / 0.8301 GB, free: 14.6 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007845/0.4113, allocations: 0.8062 MB / 0.8309 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.4113, allocations: 7.938 kB / 0.8309 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.557e-05/0.4113, allocations: 28 kB / 0.831 GB, free: 13.65 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.774e-05/0.4113, allocations: 24.94 kB / 0.831 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005738/0.4119, allocations: 463.2 kB / 0.8314 GB, free: 13.17 MB / 0.6667 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.002541/0.4144, allocations: 3.985 MB / 0.8353 GB, free: 9.016 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.4146, allocations: 118.2 kB / 0.8354 GB, free: 8.867 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.093e-05/0.4147, allocations: 67.5 kB / 0.8355 GB, free: 8.789 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001004/0.4148, allocations: 19.98 kB / 0.8355 GB, free: 8.77 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.4148, allocations: 34.56 kB / 0.8355 GB, free: 8.727 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=10): time 2.755e-06/0.4148, allocations: 0 / 0.8355 GB, free: 8.727 MB / 0.6667 GB Notification: Performance of matching and sorting (n=10): time 0.0004457/0.4152, allocations: 249.2 kB / 0.8358 GB, free: 8.477 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.4153, allocations: 136.5 kB / 0.8359 GB, free: 8.312 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007175/0.416, allocations: 0.8562 MB / 0.8367 GB, free: 7.441 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.416, allocations: 29.7 kB / 0.8368 GB, free: 7.406 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002926/0.4163, allocations: 407.7 kB / 0.8372 GB, free: 7.004 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.4164, allocations: 43.69 kB / 0.8372 GB, free: 6.961 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.02e-05/0.4164, allocations: 86.05 kB / 0.8373 GB, free: 6.871 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.726e-05/0.4165, allocations: 329.9 kB / 0.8376 GB, free: 6.543 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.4167, allocations: 108.7 kB / 0.8377 GB, free: 6.438 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003034/0.417, allocations: 0.5102 MB / 0.8382 GB, free: 5.777 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003493/0.4173, allocations: 440 kB / 0.8386 GB, free: 5.242 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.4173, allocations: 8 kB / 0.8386 GB, free: 5.234 MB / 0.6667 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000529/0.4179, allocations: 0.4931 MB / 0.8391 GB, free: 4.734 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.4179, allocations: 8 kB / 0.8391 GB, free: 4.727 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.4179, allocations: 8 kB / 0.8391 GB, free: 4.719 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.4179, allocations: 12 kB / 0.8391 GB, free: 4.707 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.4181, allocations: 99.81 kB / 0.8392 GB, free: 4.609 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.4181, allocations: 13.03 kB / 0.8392 GB, free: 4.598 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003366/0.4184, allocations: 116.4 kB / 0.8394 GB, free: 4.484 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.693e-05/0.4185, allocations: 27.98 kB / 0.8394 GB, free: 4.457 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * 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.0001913/0.4187, allocations: 234.1 kB / 0.8396 GB, free: 4.219 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.233e-05/0.4187, allocations: 75.53 kB / 0.8397 GB, free: 4.145 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.077e-05/0.4188, allocations: 81.39 kB / 0.8398 GB, free: 4.059 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.4188, allocations: 0 / 0.8398 GB, free: 4.059 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.4188, allocations: 3.938 kB / 0.8398 GB, free: 4.055 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.4188, allocations: 4 kB / 0.8398 GB, free: 4.051 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009821/0.4198, allocations: 1.034 MB / 0.8408 GB, free: 2.934 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.4198, allocations: 4.312 kB / 0.8408 GB, free: 2.93 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.357e-05/0.4198, allocations: 27.86 kB / 0.8408 GB, free: 2.902 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.4198, allocations: 4 kB / 0.8408 GB, free: 2.898 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.4199, allocations: 4 kB / 0.8408 GB, free: 2.895 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.4199, allocations: 4 kB / 0.8408 GB, free: 2.891 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4199, allocations: 0 / 0.8408 GB, free: 2.891 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001886/0.4201, allocations: 266.8 kB / 0.8411 GB, free: 2.586 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.4202, allocations: 107.3 kB / 0.8412 GB, free: 2.48 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.3e-05/0.4202, allocations: 4 kB / 0.8412 GB, free: 2.477 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.4204, allocations: 15.98 kB / 0.8412 GB, free: 2.461 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.041e-05/0.4204, allocations: 15.98 kB / 0.8412 GB, free: 2.445 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.4204, allocations: 4 kB / 0.8412 GB, free: 2.441 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005036/0.4209, allocations: 0.5849 MB / 0.8418 GB, free: 1.863 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7e-08/0.4209, allocations: 0 / 0.8418 GB, free: 1.863 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003984/0.4213, allocations: 163.8 kB / 0.8419 GB, free: 1.703 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * 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 (10): * Single equations (assignments): 10 * 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.0007116/0.422, allocations: 0.8742 MB / 0.8428 GB, free: 0.7891 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003398/0.4224, allocations: 241.6 kB / 0.843 GB, free: 0.5547 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4224, allocations: 1.031 kB / 0.843 GB, free: 0.5547 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 4.601e-05/0.4224, allocations: 44.78 kB / 0.8431 GB, free: 0.5117 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009522/0.4234, allocations: 377.6 kB / 0.8434 GB, free: 176 kB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004934/0.4283, allocations: 5.468 MB / 0.8488 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.4285, allocations: 340.6 kB / 0.8491 GB, free: 10 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003806/0.4289, allocations: 150.1 kB / 0.8492 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001991/0.4291, allocations: 236.4 kB / 0.8495 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of SimCode: time 1.032e-06/0.4291, allocations: 0 / 0.8495 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03344/0.4625, allocations: 20.12 MB / 0.8691 GB, free: 6.121 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.167/7.629, allocations: 0 / 0.8691 GB, free: 6.121 MB / 0.698 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.288711468689144] Failed to read output from testmodel.py, exit status != 0: 7.721826463006437 7.736519548 7.32649271 Calling exit ...