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.001529/0.001529, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001975/0.001975, allocations: 215.7 kB / 23.04 MB, free: 5.074 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.32/1.32, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 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.002384/0.002384, allocations: 283.1 kB / 313.5 MB, free: 2.797 MB / 238.1 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 1.122/1.122, allocations: 180.6 MB / 0.5377 GB, free: 13.09 MB / 382.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002638/0.002638, allocations: 94.77 kB / 0.7404 GB, free: 28.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1662, allocations: 95.39 MB / 0.8335 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.5745/0.7408, allocations: 191 MB / 1.02 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01182/0.7526, allocations: 13.2 MB / 1.033 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00111/0.7537, allocations: 42.06 kB / 1.033 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.7548, allocations: 423.8 kB / 1.033 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001968/0.7567, allocations: 0.9801 MB / 1.034 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.7584, allocations: 0.7329 MB / 1.035 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001506/0.7599, allocations: 1.54 MB / 1.037 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005959/0.7605, allocations: 0.4937 MB / 1.037 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003217/0.7637, allocations: 1.825 MB / 1.039 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001263/0.765, allocations: 0.5426 MB / 1.039 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.847e-05/0.7651, allocations: 51.84 kB / 1.039 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001668/0.7667, allocations: 0.9234 MB / 1.04 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002561/0.767, allocations: 288 kB / 1.041 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003494/0.7673, allocations: 389.3 kB / 1.041 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001597/0.7689, allocations: 1.17 MB / 1.042 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.7689, allocations: 0.875 kB / 1.042 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7689, allocations: 3.094 kB / 1.042 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.125e-05/0.769, allocations: 0.9688 kB / 1.042 GB, free: 2.445 MB / 0.7169 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.001399/0.7704, allocations: 1.011 MB / 1.043 GB, free: 17.85 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.7704, allocations: 9.75 kB / 1.043 GB, free: 17.85 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.996e-05/0.7704, allocations: 15.78 kB / 1.043 GB, free: 17.85 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.484e-05/0.7705, allocations: 106.3 kB / 1.043 GB, free: 17.81 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008562/0.7713, allocations: 194.5 kB / 1.043 GB, free: 17.76 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007724/0.7721, allocations: 0.4888 MB / 1.044 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.063e-05/0.7722, allocations: 42.88 kB / 1.044 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.5e-05/0.7722, allocations: 58.41 kB / 1.044 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009237/0.7731, allocations: 0.7744 MB / 1.045 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.7732, allocations: 5.562 kB / 1.045 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.491e-05/0.7732, allocations: 26.03 kB / 1.045 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.037e-05/0.7732, allocations: 29.12 kB / 1.045 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000745/0.774, allocations: 463.4 kB / 1.045 GB, free: 17.21 MB / 0.7325 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.003669/0.7776, allocations: 4.329 MB / 1.049 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.7778, allocations: 108.5 kB / 1.05 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.307e-05/0.7778, allocations: 69.53 kB / 1.05 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001216/0.778, allocations: 15.97 kB / 1.05 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.778, allocations: 43.97 kB / 1.05 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.778, allocations: 0 / 1.05 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0006089/0.7786, allocations: 241.2 kB / 1.05 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.5e-05/0.7787, allocations: 135.3 kB / 1.05 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009477/0.7796, allocations: 0.8417 MB / 1.051 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.915e-05/0.7797, allocations: 31.36 kB / 1.051 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002614/0.7799, allocations: 408.5 kB / 1.051 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.78, allocations: 49.58 kB / 1.051 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.7801, allocations: 93.02 kB / 1.051 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.7802, allocations: 326.8 kB / 1.052 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002393/0.7804, allocations: 112.6 kB / 1.052 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003469/0.7808, allocations: 360.4 kB / 1.052 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004405/0.7812, allocations: 438.1 kB / 1.053 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.7812, allocations: 3.281 kB / 1.053 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008133/0.782, allocations: 0.4974 MB / 1.053 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.7821, allocations: 10.88 kB / 1.053 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.7821, allocations: 7.125 kB / 1.053 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/0.7821, allocations: 12.5 kB / 1.053 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002927/0.7824, allocations: 99 kB / 1.053 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.705e-05/0.7824, allocations: 16.28 kB / 1.053 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006437/0.7831, allocations: 117.4 kB / 1.053 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.754e-05/0.7831, allocations: 23.16 kB / 1.053 GB, free: 12.09 MB / 0.7325 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.0002708/0.7834, allocations: 231.7 kB / 1.054 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.7835, allocations: 77.12 kB / 1.054 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.7836, allocations: 70.66 kB / 1.054 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.7836, allocations: 3.688 kB / 1.054 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.7836, allocations: 0 / 1.054 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.7836, allocations: 6.031 kB / 1.054 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001263/0.7849, allocations: 1.099 MB / 1.055 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.7849, allocations: 3.344 kB / 1.055 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.223e-05/0.785, allocations: 23.16 kB / 1.055 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.785, allocations: 2.469 kB / 1.055 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.785, allocations: 7.594 kB / 1.055 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.785, allocations: 1.812 kB / 1.055 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.785, allocations: 3.375 kB / 1.055 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002847/0.7853, allocations: 277.3 kB / 1.055 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001954/0.7855, allocations: 91.8 kB / 1.055 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.86e-05/0.7856, allocations: 3.281 kB / 1.055 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003012/0.7859, allocations: 20.62 kB / 1.055 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.7859, allocations: 16.3 kB / 1.055 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.7859, allocations: 6.219 kB / 1.055 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007053/0.7866, allocations: 0.5906 MB / 1.056 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7866, allocations: 0 / 1.056 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005562/0.7872, allocations: 159.2 kB / 1.056 GB, free: 10.93 MB / 0.7325 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.0009118/0.7881, allocations: 0.8771 MB / 1.057 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00048/0.7886, allocations: 236.4 kB / 1.057 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.7886, allocations: 0 / 1.057 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.438e-05/0.7886, allocations: 52.5 kB / 1.057 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/0.7902, allocations: 378.9 kB / 1.057 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006398/0.7966, allocations: 5.456 MB / 1.063 GB, free: 7.805 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005077/0.7971, allocations: 0.9477 MB / 1.064 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004853/0.7976, allocations: 149.2 kB / 1.064 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002549/0.7978, allocations: 229.1 kB / 1.064 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of SimCode: time 1.012e-06/0.7978, allocations: 4 kB / 1.064 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04391/0.8417, allocations: 18.44 MB / 1.082 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.45, allocations: 11.98 kB / 1.082 GB, free: 14.86 MB / 0.7481 GB " [Timeout remaining time 647] (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: 16.390300352999475] Failed to read output from testmodel.py, exit status != 0: 12.628803405037615 12.645665984 11.873488012 Calling exit ...