Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_ConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_8_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.001393/0.001393, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.001663/0.001663, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.506/1.506, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.797/1.797, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005269/0.0005269, allocations: 16.94 kB / 0.6738 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2613, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ConservationEquation): time 0.02002/0.2813, allocations: 19.11 MB / 0.8061 GB, free: 8.656 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.007243/0.2886, allocations: 4.999 MB / 0.811 GB, free: 3.645 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007053/0.2894, allocations: 19.88 kB / 0.811 GB, free: 3.625 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0008288/0.2902, allocations: 254.4 kB / 0.8112 GB, free: 3.375 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002034/0.2922, allocations: 0.7463 MB / 0.8119 GB, free: 2.625 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002201/0.2945, allocations: 0.7499 MB / 0.8127 GB, free: 1.883 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002287/0.2968, allocations: 1.942 MB / 0.8146 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005967/0.2974, allocations: 402.8 kB / 0.815 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009825/0.2984, allocations: 0.5874 MB / 0.8155 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005997/0.299, allocations: 454 kB / 0.816 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 6.658e-05/0.299, allocations: 28 kB / 0.816 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001763/0.3008, allocations: 0.959 MB / 0.8169 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001563/0.301, allocations: 119.5 kB / 0.817 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001842/0.3012, allocations: 141.3 kB / 0.8172 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.3023, allocations: 0.8224 MB / 0.818 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3023, allocations: 0 / 0.818 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.744e-06/0.3023, allocations: 0 / 0.818 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.709e-06/0.3023, allocations: 4 kB / 0.818 GB, free: 12.41 MB / 0.6387 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.001491/0.3038, allocations: 0.9208 MB / 0.8189 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.3039, allocations: 8.031 kB / 0.8189 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.191e-05/0.304, allocations: 78.47 kB / 0.819 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007915/0.3048, allocations: 195 kB / 0.8192 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.3058, allocations: 0.5415 MB / 0.8197 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002853/0.3061, allocations: 96.88 kB / 0.8198 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.383e-05/0.3062, allocations: 44 kB / 0.8198 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009462/0.3071, allocations: 0.4999 MB / 0.8203 GB, free: 9.906 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.3072, allocations: 0 / 0.8203 GB, free: 9.906 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.959e-05/0.3072, allocations: 12 kB / 0.8203 GB, free: 9.895 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.027e-05/0.3073, allocations: 8 kB / 0.8203 GB, free: 9.887 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009853/0.3083, allocations: 430.6 kB / 0.8207 GB, free: 9.461 MB / 0.6387 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.002895/0.3112, allocations: 2.309 MB / 0.823 GB, free: 6.941 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.3122, allocations: 394.9 kB / 0.8234 GB, free: 6.547 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004678/0.3127, allocations: 229 kB / 0.8236 GB, free: 6.32 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000307/0.313, allocations: 344.6 kB / 0.8239 GB, free: 5.91 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006145/0.3137, allocations: 310.2 kB / 0.8242 GB, free: 5.59 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=33): time 2.375e-06/0.3137, allocations: 0 / 0.8242 GB, free: 5.59 MB / 0.6387 GB Notification: Performance of matching and sorting (n=33): time 0.002231/0.3159, allocations: 0.8881 MB / 0.8251 GB, free: 4.668 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/0.316, allocations: 89.05 kB / 0.8252 GB, free: 4.562 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006507/0.3166, allocations: 487 kB / 0.8256 GB, free: 4.078 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.986e-05/0.3167, allocations: 33.7 kB / 0.8257 GB, free: 4.039 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002599/0.317, allocations: 276.4 kB / 0.8259 GB, free: 3.766 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.3171, allocations: 110.5 kB / 0.826 GB, free: 3.656 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.067e-05/0.3171, allocations: 4 kB / 0.826 GB, free: 3.652 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.3173, allocations: 358.8 kB / 0.8264 GB, free: 3.293 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004392/0.3177, allocations: 191.7 kB / 0.8266 GB, free: 3.105 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004869/0.3182, allocations: 265.9 kB / 0.8268 GB, free: 2.812 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004531/0.3187, allocations: 234 kB / 0.827 GB, free: 2.578 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3187, allocations: 0 / 0.827 GB, free: 2.578 MB / 0.6387 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001392/0.3201, allocations: 0.6368 MB / 0.8277 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.000134/0.3203, allocations: 164 kB / 0.8278 GB, free: 1.734 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.3203, allocations: 0 / 0.8278 GB, free: 1.734 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003287/0.3206, allocations: 76.75 kB / 0.8279 GB, free: 1.656 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003608/0.321, allocations: 79.88 kB / 0.828 GB, free: 1.578 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004972/0.3215, allocations: 0.5992 MB / 0.8285 GB, free: 0.9531 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000579/0.3221, allocations: 83.59 kB / 0.8286 GB, free: 0.8711 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.364e-05/0.3221, allocations: 16 kB / 0.8286 GB, free: 0.8555 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.3222, allocations: 7.125 kB / 0.8286 GB, free: 0.8516 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001168/0.3233, allocations: 0.5527 MB / 0.8292 GB, free: 296 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.3233, allocations: 0 / 0.8292 GB, free: 296 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001406/0.3235, allocations: 52.78 kB / 0.8292 GB, free: 240 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003561/0.3239, allocations: 84.03 kB / 0.8293 GB, free: 156 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001523/0.3254, allocations: 1.627 MB / 0.8309 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005296/0.3259, allocations: 79.73 kB / 0.831 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.761e-05/0.326, allocations: 19.98 kB / 0.831 GB, free: 14.28 MB / 0.6544 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.00035/0.3264, allocations: 301.4 kB / 0.8313 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.951e-05/0.3265, allocations: 55.34 kB / 0.8313 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/0.3278, allocations: 0.661 MB / 0.832 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.3278, allocations: 8.078 kB / 0.832 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.3279, allocations: 4 kB / 0.832 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001199/0.3291, allocations: 0.8132 MB / 0.8328 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002106/0.3312, allocations: 1.324 MB / 0.8341 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.3312, allocations: 0 / 0.8341 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003203/0.3315, allocations: 75.98 kB / 0.8342 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001361/0.3317, allocations: 44.81 kB / 0.8342 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.317e-05/0.3317, allocations: 16 kB / 0.8342 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000343/0.3321, allocations: 0.5679 MB / 0.8348 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.3321, allocations: 4.094 kB / 0.8348 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/0.3338, allocations: 1.018 MB / 0.8358 GB, free: 9.145 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002382/0.3341, allocations: 184.3 kB / 0.8359 GB, free: 8.945 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.802e-05/0.3342, allocations: 11.95 kB / 0.836 GB, free: 8.934 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005014/0.3347, allocations: 60 kB / 0.836 GB, free: 8.875 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.291e-05/0.3348, allocations: 27.97 kB / 0.836 GB, free: 8.848 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.502e-05/0.3348, allocations: 24.05 kB / 0.8361 GB, free: 8.824 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003807/0.3352, allocations: 342.8 kB / 0.8364 GB, free: 8.492 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3352, allocations: 0 / 0.8364 GB, free: 8.492 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001092/0.3363, allocations: 335.5 kB / 0.8367 GB, free: 8.164 MB / 0.6544 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.002569/0.3389, allocations: 1.699 MB / 0.8384 GB, free: 6.426 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001901/0.3408, allocations: 1.007 MB / 0.8394 GB, free: 5.383 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3408, allocations: 4 kB / 0.8394 GB, free: 5.379 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005788/0.3414, allocations: 331.4 kB / 0.8397 GB, free: 5.043 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.3426, allocations: 240.4 kB / 0.8399 GB, free: 4.809 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005911/0.3485, allocations: 3.483 MB / 0.8433 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004916/0.349, allocations: 0.8745 MB / 0.8442 GB, free: 356 kB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005681/0.3496, allocations: 124.3 kB / 0.8443 GB, free: 228 kB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000273/0.3499, allocations: 195.4 kB / 0.8445 GB, free: 32 kB / 0.6544 GB Notification: Performance of SimCode: time 4.51e-07/0.3499, allocations: 0 / 0.8445 GB, free: 32 kB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03409/0.384, allocations: 16 MB / 0.8601 GB, free: 364 kB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002431/0.3843, allocations: 262.2 kB / 0.8603 GB, free: 16 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.224/2.609, allocations: 0 / 0.8603 GB, free: 16 MB / 0.6856 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_ConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_ConservationEquation.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1) Environment - environmentSimulation: