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.0007942/0.0007942, 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.0007907/0.0007907, allocations: 169.9 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.8817/0.8817, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.001536/0.001536, allocations: 233.3 kB / 259.4 MB, free: 13.03 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.6791/0.6791, allocations: 138.4 MB / 454.3 MB, free: 30.02 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.222e-06/1.222e-06, allocations: 0 / 0.6463 GB, free: 1.859 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.45e-05/1.572e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.855 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.3807/0.3807, allocations: 165.3 MB / 0.8077 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01046/0.3912, allocations: 11.92 MB / 0.8194 GB, free: 9.766 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007376/0.3919, allocations: 51.56 kB / 0.8194 GB, free: 9.715 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.3929, allocations: 413.2 kB / 0.8198 GB, free: 9.309 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.001578/0.3945, allocations: 0.983 MB / 0.8208 GB, free: 8.32 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.3958, allocations: 0.7698 MB / 0.8215 GB, free: 7.555 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.001106/0.3969, allocations: 1.528 MB / 0.823 GB, free: 6.023 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004939/0.3974, allocations: 491 kB / 0.8235 GB, free: 5.531 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002677/0.4, allocations: 1.942 MB / 0.8254 GB, free: 3.582 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007607/0.4008, allocations: 472.5 kB / 0.8258 GB, free: 3.129 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 5.904e-05/0.4008, allocations: 56 kB / 0.8259 GB, free: 3.074 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008949/0.4017, allocations: 0.7362 MB / 0.8266 GB, free: 2.336 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001859/0.4019, allocations: 307 kB / 0.8269 GB, free: 2.035 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0001755/0.4021, allocations: 255.4 kB / 0.8271 GB, free: 1.785 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.4031, allocations: 1.172 MB / 0.8283 GB, free: 0.6094 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.4031, allocations: 0 / 0.8283 GB, free: 0.6094 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.435e-06/0.4031, allocations: 0 / 0.8283 GB, free: 0.6094 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.4031, allocations: 0.6562 kB / 0.8283 GB, free: 0.6094 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.001014/0.4041, allocations: 1.002 MB / 0.8293 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.4042, allocations: 9.938 kB / 0.8293 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.198e-05/0.4043, allocations: 98.52 kB / 0.8294 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005439/0.4048, allocations: 199.3 kB / 0.8296 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005687/0.4054, allocations: 0.4919 MB / 0.83 GB, free: 14.74 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.934e-05/0.4054, allocations: 45.31 kB / 0.8301 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.186e-05/0.4055, allocations: 56.66 kB / 0.8301 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000745/0.4062, allocations: 0.8023 MB / 0.8309 GB, free: 13.73 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.4062, allocations: 3.938 kB / 0.8309 GB, free: 13.73 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.416e-05/0.4063, allocations: 27.98 kB / 0.8309 GB, free: 13.7 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.136e-05/0.4063, allocations: 26.38 kB / 0.831 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005364/0.4068, allocations: 459.2 kB / 0.8314 GB, free: 13.23 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.002342/0.4092, allocations: 3.996 MB / 0.8353 GB, free: 9.062 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 9.073e-05/0.4093, allocations: 106.3 kB / 0.8354 GB, free: 8.926 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001996/0.4095, allocations: 71.44 kB / 0.8355 GB, free: 8.844 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 9.207e-05/0.4096, allocations: 27.97 kB / 0.8355 GB, free: 8.816 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.4096, allocations: 30.56 kB / 0.8355 GB, free: 8.777 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/0.4096, allocations: 8 kB / 0.8355 GB, free: 8.77 MB / 0.6667 GB Notification: Performance of matching and sorting (n=10): time 0.0003951/0.41, allocations: 245 kB / 0.8358 GB, free: 8.523 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.41, allocations: 132.5 kB / 0.8359 GB, free: 8.363 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007009/0.4107, allocations: 0.8604 MB / 0.8367 GB, free: 7.488 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.4107, allocations: 29.7 kB / 0.8368 GB, free: 7.453 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.4109, allocations: 403.7 kB / 0.8372 GB, free: 7.055 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.411, allocations: 47.67 kB / 0.8372 GB, free: 7.008 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.434e-05/0.411, allocations: 85.97 kB / 0.8373 GB, free: 6.918 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.828e-05/0.4111, allocations: 325.9 kB / 0.8376 GB, free: 6.594 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.4113, allocations: 116.6 kB / 0.8377 GB, free: 6.48 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002978/0.4116, allocations: 0.5102 MB / 0.8382 GB, free: 5.82 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003412/0.4119, allocations: 439.8 kB / 0.8386 GB, free: 5.285 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.4119, allocations: 0 / 0.8386 GB, free: 5.285 MB / 0.6667 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009589/0.4129, allocations: 0.4966 MB / 0.8391 GB, free: 4.781 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.4129, allocations: 8 kB / 0.8391 GB, free: 4.773 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.4129, allocations: 8 kB / 0.8391 GB, free: 4.766 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.4129, allocations: 12.75 kB / 0.8391 GB, free: 4.754 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.4131, allocations: 99.83 kB / 0.8392 GB, free: 4.656 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.4131, allocations: 17.02 kB / 0.8392 GB, free: 4.641 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003142/0.4134, allocations: 111.3 kB / 0.8394 GB, free: 4.531 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/0.4134, allocations: 28 kB / 0.8394 GB, free: 4.504 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.0001806/0.4136, allocations: 234.1 kB / 0.8396 GB, free: 4.266 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.075e-05/0.4137, allocations: 75.53 kB / 0.8397 GB, free: 4.191 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.841e-05/0.4138, allocations: 74.27 kB / 0.8397 GB, free: 4.109 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.4138, allocations: 4 kB / 0.8397 GB, free: 4.105 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.4138, allocations: 0 / 0.8397 GB, free: 4.105 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.4138, allocations: 4 kB / 0.8398 GB, free: 4.102 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007917/0.4146, allocations: 1.035 MB / 0.8408 GB, free: 2.984 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4146, allocations: 0 / 0.8408 GB, free: 2.984 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.112e-05/0.4146, allocations: 27.86 kB / 0.8408 GB, free: 2.957 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.4146, allocations: 4 kB / 0.8408 GB, free: 2.953 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.4146, allocations: 4 kB / 0.8408 GB, free: 2.949 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4146, allocations: 0 / 0.8408 GB, free: 2.949 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.4146, allocations: 4 kB / 0.8408 GB, free: 2.945 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.4148, allocations: 263.7 kB / 0.8411 GB, free: 2.645 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.4149, allocations: 112 kB / 0.8412 GB, free: 2.535 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.589e-05/0.415, allocations: 3.938 kB / 0.8412 GB, free: 2.531 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.4151, allocations: 27.91 kB / 0.8412 GB, free: 2.504 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.79e-05/0.4151, allocations: 11.98 kB / 0.8412 GB, free: 2.492 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.4151, allocations: 4 kB / 0.8412 GB, free: 2.488 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004908/0.4156, allocations: 0.5927 MB / 0.8418 GB, free: 1.902 MB / 0.6667 GB Notification: Performance of sort global known variables: time 9e-08/0.4156, allocations: 0 / 0.8418 GB, free: 1.902 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003438/0.416, allocations: 155.8 kB / 0.8419 GB, free: 1.75 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.000579/0.4166, allocations: 0.8718 MB / 0.8428 GB, free: 0.8359 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003057/0.4169, allocations: 233.6 kB / 0.843 GB, free: 0.6094 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.4169, allocations: 5.031 kB / 0.843 GB, free: 0.6055 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 4.167e-05/0.4169, allocations: 52.17 kB / 0.8431 GB, free: 0.5547 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008766/0.4178, allocations: 376.8 kB / 0.8434 GB, free: 224 kB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004744/0.4225, allocations: 5.46 MB / 0.8488 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/0.4227, allocations: 340.6 kB / 0.8491 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002679/0.423, allocations: 151 kB / 0.8492 GB, free: 9.906 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001869/0.4232, allocations: 240.4 kB / 0.8494 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of SimCode: time 4e-07/0.4232, allocations: 0 / 0.8494 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02822/0.4514, allocations: 20.12 MB / 0.8691 GB, free: 6.172 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.898/7.35, allocations: 2.656 kB / 0.8691 GB, free: 6.172 MB / 0.698 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 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: 9.891901839524508] Failed to read output from testmodel.py, exit status != 0: 7.443831727840006 7.452618713 7.047501745 Calling exit ...