Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001724/0.001725, allocations: 187.8 kB / 16.64 MB, free: 6.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.328/1.328, allocations: 205.1 MB / 222.5 MB, free: 4.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.606/1.606, allocations: 292.3 MB / 0.549 GB, free: 12.76 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00138/0.001381, allocations: 71.91 kB / 0.6718 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2256, allocations: 114.5 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.646/0.8716, allocations: 187.1 MB / 0.9663 GB, free: 328 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01441/0.8861, allocations: 12.99 MB / 0.979 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00178/0.8879, allocations: 35.06 kB / 0.9791 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001369/0.8893, allocations: 412.1 kB / 0.9795 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002711/0.8921, allocations: 0.9136 MB / 0.9803 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002106/0.8942, allocations: 0.7128 MB / 0.981 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002059/0.8962, allocations: 1.495 MB / 0.9825 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008887/0.8971, allocations: 0.6517 MB / 0.9831 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003861/0.901, allocations: 1.719 MB / 0.9848 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001171/0.9022, allocations: 0.4898 MB / 0.9853 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.717e-05/0.9023, allocations: 53 kB / 0.9853 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001671/0.904, allocations: 0.8817 MB / 0.9862 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002406/0.9042, allocations: 282 kB / 0.9865 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003426/0.9046, allocations: 383.6 kB / 0.9868 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001401/0.906, allocations: 1.173 MB / 0.988 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.906, allocations: 1.781 kB / 0.988 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.563e-06/0.906, allocations: 0 / 0.988 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.462e-05/0.906, allocations: 0 / 0.988 GB, free: 10.95 MB / 0.7325 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.001373/0.9074, allocations: 1.05 MB / 0.989 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.9074, allocations: 10 kB / 0.989 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.998e-05/0.9075, allocations: 103 kB / 0.9891 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008789/0.9084, allocations: 186.8 kB / 0.9893 GB, free: 9.922 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008016/0.9092, allocations: 0.5433 MB / 0.9898 GB, free: 9.484 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.927e-05/0.9093, allocations: 46.19 kB / 0.9899 GB, free: 9.465 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.347e-05/0.9094, allocations: 57.88 kB / 0.9899 GB, free: 9.445 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.9104, allocations: 0.7744 MB / 0.9907 GB, free: 8.824 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.9105, allocations: 6.656 kB / 0.9907 GB, free: 8.82 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.903e-05/0.9105, allocations: 36.78 kB / 0.9907 GB, free: 8.793 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.634e-05/0.9106, allocations: 25.42 kB / 0.9907 GB, free: 8.789 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008663/0.9114, allocations: 462.1 kB / 0.9912 GB, free: 8.57 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.003756/0.9152, allocations: 4.388 MB / 0.9955 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.9153, allocations: 105 kB / 0.9956 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.9154, allocations: 69.59 kB / 0.9956 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001586/0.9156, allocations: 97.81 kB / 0.9957 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.9156, allocations: 42.48 kB / 0.9958 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.653e-06/0.9157, allocations: 3.938 kB / 0.9958 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0006317/0.9163, allocations: 244.3 kB / 0.996 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.651e-05/0.9164, allocations: 128.5 kB / 0.9961 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.9174, allocations: 0.8446 MB / 0.997 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.9175, allocations: 28.36 kB / 0.997 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002913/0.9178, allocations: 405.5 kB / 0.9974 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.9178, allocations: 38.52 kB / 0.9974 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.9179, allocations: 89.12 kB / 0.9975 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.9181, allocations: 330.2 kB / 0.9978 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002419/0.9183, allocations: 113.2 kB / 0.9979 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004061/0.9187, allocations: 362.1 kB / 0.9983 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005645/0.9193, allocations: 444.7 kB / 0.9987 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.9193, allocations: 2.719 kB / 0.9987 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009523/0.9203, allocations: 499.7 kB / 0.9992 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.9203, allocations: 7.469 kB / 0.9992 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.9203, allocations: 7.812 kB / 0.9992 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.9203, allocations: 11.03 kB / 0.9992 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002888/0.9206, allocations: 100.5 kB / 0.9993 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/0.9207, allocations: 18.33 kB / 0.9993 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006442/0.9213, allocations: 116.3 kB / 0.9994 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.946e-05/0.9214, allocations: 31.5 kB / 0.9994 GB, free: 1.371 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.0002406/0.9216, allocations: 228.9 kB / 0.9997 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.9218, allocations: 74.28 kB / 0.9997 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.9219, allocations: 69.78 kB / 0.9998 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.9219, allocations: 1.781 kB / 0.9998 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.9219, allocations: 2.688 kB / 0.9998 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.9219, allocations: 0 / 0.9998 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/0.9231, allocations: 1.129 MB / 1.001 GB, free: 100 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.9231, allocations: 3.156 kB / 1.001 GB, free: 100 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.639e-05/0.9232, allocations: 14.91 kB / 1.001 GB, free: 100 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.9232, allocations: 2.469 kB / 1.001 GB, free: 100 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.9233, allocations: 8.859 kB / 1.001 GB, free: 96 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.92e-06/0.9233, allocations: 6.719 kB / 1.001 GB, free: 92 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.9233, allocations: 2.562 kB / 1.001 GB, free: 92 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002843/0.9236, allocations: 260.4 kB / 1.001 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/0.9237, allocations: 175.9 kB / 1.001 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.607e-05/0.9238, allocations: 12.55 kB / 1.001 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002904/0.9241, allocations: 17.83 kB / 1.001 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.461e-05/0.9242, allocations: 13.53 kB / 1.001 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.9242, allocations: 4.375 kB / 1.001 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006757/0.9249, allocations: 0.5907 MB / 1.002 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9249, allocations: 6.594 kB / 1.002 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005142/0.9254, allocations: 150.5 kB / 1.002 GB, free: 15.33 MB / 0.7481 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.0008071/0.9262, allocations: 0.8796 MB / 1.003 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004736/0.9267, allocations: 246 kB / 1.003 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.9267, allocations: 0 / 1.003 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 6.548e-05/0.9268, allocations: 47.86 kB / 1.003 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/0.9283, allocations: 379.5 kB / 1.004 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006899/0.9352, allocations: 5.444 MB / 1.009 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005255/0.9357, allocations: 0.9371 MB / 1.01 GB, free: 9.684 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005458/0.9363, allocations: 154.4 kB / 1.01 GB, free: 9.609 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002699/0.9366, allocations: 229.1 kB / 1.01 GB, free: 9.422 MB / 0.7481 GB Notification: Performance of SimCode: time 7.21e-07/0.9366, allocations: 0 / 1.01 GB, free: 9.422 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03778/0.9744, allocations: 17.79 MB / 1.028 GB, free: 15.66 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.115/9.089, allocations: 14.48 kB / 1.028 GB, free: 15.64 MB / 0.7637 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)