Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquation.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_ConservationEquation",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.001357/0.001357, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.325/2.325, allocations: 390.3 MB / 0.6653 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003229/0.0003229, allocations: 11.98 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7206/0.7209, allocations: 142.3 MB / 0.9536 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.01634/0.7373, allocations: 17.48 MB / 0.9707 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007482/0.7448, allocations: 4.661 MB / 0.9752 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008784/0.7457, allocations: 17.72 kB / 0.9752 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.7467, allocations: 301.5 kB / 0.9755 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002813/0.7496, allocations: 0.8142 MB / 0.9763 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00283/0.7524, allocations: 0.9037 MB / 0.9772 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002078/0.7545, allocations: 1.04 MB / 0.9782 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007537/0.7553, allocations: 416.9 kB / 0.9786 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001192/0.7565, allocations: 0.5357 MB / 0.9791 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005659/0.757, allocations: 323.5 kB / 0.9794 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.781e-05/0.7571, allocations: 26.75 kB / 0.9795 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002104/0.7592, allocations: 0.83 MB / 0.9803 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000162/0.7594, allocations: 116 kB / 0.9804 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002189/0.7596, allocations: 142.5 kB / 0.9805 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001407/0.761, allocations: 0.7823 MB / 0.9813 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.7611, allocations: 5.156 kB / 0.9813 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.495e-06/0.7611, allocations: 0 / 0.9813 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.858e-06/0.7611, allocations: 0 / 0.9813 GB, free: 2.586 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.002045/0.7631, allocations: 0.9104 MB / 0.9822 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.7632, allocations: 13 kB / 0.9822 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.571e-05/0.7633, allocations: 72 kB / 0.9823 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000922/0.7642, allocations: 197.9 kB / 0.9824 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009336/0.7652, allocations: 0.509 MB / 0.9829 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003458/0.7655, allocations: 100.7 kB / 0.983 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.178e-05/0.7656, allocations: 41.23 kB / 0.9831 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/0.7667, allocations: 0.4924 MB / 0.9836 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.7667, allocations: 1.469 kB / 0.9836 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.096e-05/0.7668, allocations: 16.06 kB / 0.9836 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.796e-05/0.7668, allocations: 8.812 kB / 0.9836 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.7679, allocations: 432.3 kB / 0.984 GB, free: 0.6484 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.003155/0.7711, allocations: 2.312 MB / 0.9863 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.7721, allocations: 398.9 kB / 0.9866 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002913/0.7724, allocations: 336.6 kB / 0.987 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006166/0.7731, allocations: 312.5 kB / 0.9873 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=33): time 3.587e-06/0.7731, allocations: 3.984 kB / 0.9873 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33): time 0.002282/0.7754, allocations: 0.9655 MB / 0.9882 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.375e-05/0.7754, allocations: 85.11 kB / 0.9883 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000557/0.776, allocations: 0.4912 MB / 0.9888 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.474e-05/0.7761, allocations: 33.64 kB / 0.9888 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002171/0.7763, allocations: 288.4 kB / 0.9891 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.7764, allocations: 106.4 kB / 0.9892 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.065e-05/0.7764, allocations: 8 kB / 0.9892 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.7766, allocations: 362.8 kB / 0.9895 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004564/0.777, allocations: 179.9 kB / 0.9897 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005076/0.7775, allocations: 273 kB / 0.99 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004818/0.778, allocations: 226.7 kB / 0.9902 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.7781, allocations: 4 kB / 0.9902 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001437/0.7795, allocations: 0.628 MB / 0.9908 GB, free: 9.391 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002577/0.7798, allocations: 0.6504 MB / 0.9914 GB, free: 8.688 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.7798, allocations: 3.938 kB / 0.9914 GB, free: 8.684 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003438/0.7801, allocations: 72.81 kB / 0.9915 GB, free: 8.609 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003796/0.7805, allocations: 83.88 kB / 0.9916 GB, free: 8.527 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004346/0.781, allocations: 0.5952 MB / 0.9922 GB, free: 7.906 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005996/0.7816, allocations: 83.69 kB / 0.9922 GB, free: 7.824 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.271e-05/0.7816, allocations: 12 kB / 0.9923 GB, free: 7.812 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/0.7816, allocations: 4 kB / 0.9923 GB, free: 7.809 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001242/0.7829, allocations: 0.5645 MB / 0.9928 GB, free: 7.234 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.7829, allocations: 0 / 0.9928 GB, free: 7.234 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001427/0.7831, allocations: 52.77 kB / 0.9929 GB, free: 7.18 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003529/0.7834, allocations: 88.03 kB / 0.9929 GB, free: 7.094 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001498/0.7849, allocations: 1.631 MB / 0.9945 GB, free: 5.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005488/0.7855, allocations: 79.7 kB / 0.9946 GB, free: 5.242 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-05/0.7856, allocations: 23.97 kB / 0.9946 GB, free: 5.219 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003725/0.7859, allocations: 297 kB / 0.9949 GB, free: 4.914 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.497e-05/0.786, allocations: 55.34 kB / 0.995 GB, free: 4.859 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001412/0.7874, allocations: 0.6726 MB / 0.9956 GB, free: 4.164 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.7875, allocations: 7.984 kB / 0.9956 GB, free: 4.156 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-06/0.7875, allocations: 0 / 0.9956 GB, free: 4.156 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001273/0.7887, allocations: 0.8171 MB / 0.9964 GB, free: 3.262 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002267/0.791, allocations: 1.323 MB / 0.9977 GB, free: 1.863 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.791, allocations: 0 / 0.9977 GB, free: 1.863 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003458/0.7914, allocations: 72.05 kB / 0.9978 GB, free: 1.793 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001462/0.7916, allocations: 40.77 kB / 0.9978 GB, free: 1.75 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.363e-05/0.7916, allocations: 16 kB / 0.9978 GB, free: 1.734 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003487/0.7919, allocations: 0.5719 MB / 0.9984 GB, free: 1.137 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.792, allocations: 11.92 kB / 0.9984 GB, free: 1.125 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/0.7938, allocations: 1.027 MB / 0.9994 GB, free: 44 kB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003109/0.7941, allocations: 192.4 kB / 0.9996 GB, free: 15.84 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.753e-05/0.7942, allocations: 8 kB / 0.9996 GB, free: 15.83 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000575/0.7948, allocations: 72 kB / 0.9997 GB, free: 15.76 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.348e-05/0.7949, allocations: 23.86 kB / 0.9997 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-05/0.7949, allocations: 23.97 kB / 0.9997 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0003718/0.7953, allocations: 354.8 kB / 1 GB, free: 15.37 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7953, allocations: 0 / 1 GB, free: 15.37 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001166/0.7965, allocations: 343.5 kB / 1 GB, free: 15.03 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002691/0.7992, allocations: 1.956 MB / 1.002 GB, free: 13.03 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002055/0.8012, allocations: 0.9937 MB / 1.003 GB, free: 12 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.8012, allocations: 0 / 1.003 GB, free: 12 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0006187/0.8019, allocations: 332.4 kB / 1.004 GB, free: 11.66 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.8032, allocations: 234 kB / 1.004 GB, free: 11.43 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006162/0.8093, allocations: 4.416 MB / 1.008 GB, free: 6.93 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003949/0.8097, allocations: 0.8901 MB / 1.009 GB, free: 6.012 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0005671/0.8103, allocations: 132.4 kB / 1.009 GB, free: 5.879 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002763/0.8106, allocations: 195.4 kB / 1.009 GB, free: 5.688 MB / 0.7637 GB Notification: Performance of SimCode: time 1.362e-06/0.8106, allocations: 7.938 kB / 1.009 GB, free: 5.68 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03329/0.8439, allocations: 16.27 MB / 1.025 GB, free: 5.723 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001967/0.8442, allocations: 260 kB / 1.025 GB, free: 5.363 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.156/3, allocations: 0 / 1.025 GB, free: 5.363 MB / 0.7794 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquation_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Interfaces_Examples_ConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Interfaces_Examples_ConservationEquation.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1)