Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",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.001117/0.001117, allocations: 99.62 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.001298/0.001298, 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 3.2.3+maint.om/package.mo): time 1.745/1.745, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.8/1.8, allocations: 292.6 MB / 0.5497 GB, free: 14.63 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.0008354/0.0008354, allocations: 19.81 kB / 0.6737 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3545, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 1.758/2.112, allocations: 162 MB / 0.9454 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02949/2.142, allocations: 6.236 MB / 0.9515 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004839/2.147, allocations: 35.03 kB / 0.9515 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005942/2.153, allocations: 0.6693 MB / 0.9522 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01603/2.169, allocations: 1.638 MB / 0.9538 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.013/2.182, allocations: 1.535 MB / 0.9553 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01124/2.193, allocations: 1.672 MB / 0.9569 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004445/2.198, allocations: 0.6939 MB / 0.9576 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006117/2.204, allocations: 0.9105 MB / 0.9585 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002954/2.207, allocations: 0.5407 MB / 0.959 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0008305/2.208, allocations: 43.03 kB / 0.9591 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01068/2.219, allocations: 1.173 MB / 0.9602 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001825/2.221, allocations: 287.2 kB / 0.9605 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002381/2.223, allocations: 234.5 kB / 0.9607 GB, free: 20.89 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.008069/2.231, allocations: 1.56 MB / 0.9622 GB, free: 20.78 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/2.231, allocations: 7.938 kB / 0.9622 GB, free: 20.77 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.926e-06/2.231, allocations: 0 / 0.9622 GB, free: 20.77 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.905e-05/2.231, allocations: 1.031 kB / 0.9622 GB, free: 20.77 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.008956/2.24, allocations: 1.403 MB / 0.9636 GB, free: 19.95 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 9.187e-05/2.24, allocations: 8.812 kB / 0.9636 GB, free: 19.95 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007722/2.241, allocations: 115.2 kB / 0.9637 GB, free: 19.91 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006647/2.248, allocations: 0.6068 MB / 0.9643 GB, free: 19.81 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005113/2.253, allocations: 0.9252 MB / 0.9652 GB, free: 19.51 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002635/2.256, allocations: 316.1 kB / 0.9655 GB, free: 19.48 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008008/2.257, allocations: 70.58 kB / 0.9656 GB, free: 19.48 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006977/2.264, allocations: 1.161 MB / 0.9667 GB, free: 19.38 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.812e-05/2.264, allocations: 5.375 kB / 0.9667 GB, free: 19.38 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002056/2.264, allocations: 28.2 kB / 0.9668 GB, free: 19.38 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001368/2.264, allocations: 33.59 kB / 0.9668 GB, free: 19.38 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007752/2.272, allocations: 1.327 MB / 0.9681 GB, free: 19.34 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01447/2.287, allocations: 2.987 MB / 0.971 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003846/2.29, allocations: 0.7394 MB / 0.9717 GB, free: 18.65 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001059/2.292, allocations: 0.6722 MB / 0.9724 GB, free: 17.9 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002353/2.294, allocations: 0.5376 MB / 0.9729 GB, free: 17.76 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=59): time 5.441e-06/2.294, allocations: 0 / 0.9729 GB, free: 17.76 MB / 0.7325 GB Notification: Performance of matching and sorting (n=59): time 0.007627/2.302, allocations: 1.361 MB / 0.9742 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000202/2.302, allocations: 119.4 kB / 0.9743 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004722/2.307, allocations: 1.216 MB / 0.9755 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0005157/2.307, allocations: 44.84 kB / 0.9756 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008017/2.308, allocations: 427.5 kB / 0.976 GB, free: 16.69 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004744/2.309, allocations: 189.6 kB / 0.9762 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.804e-05/2.309, allocations: 12.72 kB / 0.9762 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002708/2.309, allocations: 335.3 kB / 0.9765 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002758/2.312, allocations: 499.4 kB / 0.977 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003132/2.315, allocations: 0.6394 MB / 0.9776 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002556/2.318, allocations: 0.5492 MB / 0.9781 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/2.318, allocations: 0 / 0.9781 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.006174/2.324, allocations: 1.314 MB / 0.9794 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.00013/2.324, allocations: 40.94 kB / 0.9795 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.183e-05/2.324, allocations: 2.656 kB / 0.9795 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.508e-05/2.324, allocations: 5.344 kB / 0.9795 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001558/2.326, allocations: 217.5 kB / 0.9797 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.837e-05/2.326, allocations: 8.625 kB / 0.9797 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002944/2.329, allocations: 310.5 kB / 0.98 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002149/2.329, allocations: 41.53 kB / 0.98 GB, free: 15.2 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (69): * Single equations (assignments): 68 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001149/2.33, allocations: 328.6 kB / 0.9803 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004711/2.331, allocations: 123.5 kB / 0.9804 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003817/2.334, allocations: 1.065 MB / 0.9815 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.638e-05/2.334, allocations: 9.109 kB / 0.9815 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/2.334, allocations: 0 / 0.9815 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.541e-05/2.335, allocations: 2.875 kB / 0.9815 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01363/2.348, allocations: 3.236 MB / 0.9847 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-05/2.348, allocations: 8.062 kB / 0.9847 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/2.349, allocations: 129.2 kB / 0.9848 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.665e-05/2.349, allocations: 11.62 kB / 0.9848 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/2.349, allocations: 34.16 kB / 0.9848 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.451e-05/2.349, allocations: 11.47 kB / 0.9848 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.085e-05/2.35, allocations: 11 kB / 0.9849 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005028/2.355, allocations: 1.732 MB / 0.9865 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002426/2.357, allocations: 341.5 kB / 0.9869 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006893/2.358, allocations: 24.3 kB / 0.9869 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002908/2.361, allocations: 131.5 kB / 0.987 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002453/2.361, allocations: 54.06 kB / 0.9871 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002021/2.361, allocations: 45.88 kB / 0.9871 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003051/2.364, allocations: 0.8846 MB / 0.988 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8.11e-07/2.364, allocations: 0 / 0.988 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003055/2.367, allocations: 304 kB / 0.9883 GB, free: 11.61 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 0 () * 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 (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009653/2.377, allocations: 4.696 MB / 0.9929 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005865/2.383, allocations: 1.08 MB / 0.9939 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.69e-05/2.383, allocations: 3.375 kB / 0.9939 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002369/2.386, allocations: 0.5452 MB / 0.9944 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006848/2.393, allocations: 0.5311 MB / 0.995 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03873/2.431, allocations: 8.827 MB / 1.004 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001508/2.433, allocations: 1.09 MB / 1.005 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00318/2.436, allocations: 287.2 kB / 1.005 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001144/2.437, allocations: 363.9 kB / 1.005 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of SimCode: time 5.29e-06/2.437, allocations: 0 / 1.005 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1677/2.605, allocations: 31.14 MB / 1.036 GB, free: 6.156 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004452/2.606, allocations: 236.9 kB / 1.036 GB, free: 5.922 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.221/9.826, allocations: 0 / 1.036 GB, free: 5.922 MB / 0.7637 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) Environment - environmentSimulation: