Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001012/0.001012, 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.001476/0.001476, allocations: 177.3 kB / 15.94 MB, free: 228 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.351/1.351, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9922/0.9922, allocations: 143.3 MB / 434.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003089/0.0003091, allocations: 8 kB / 0.5159 GB, free: 11.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1758, allocations: 83.41 MB / 0.5973 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.4989/0.6748, allocations: 162 MB / 0.7556 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009789/0.6846, allocations: 6.3 MB / 0.7617 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001485/0.6861, allocations: 35.75 kB / 0.7618 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002183/0.6883, allocations: 0.6688 MB / 0.7624 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005133/0.6935, allocations: 1.671 MB / 0.764 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004359/0.6979, allocations: 1.541 MB / 0.7656 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003406/0.7013, allocations: 1.709 MB / 0.7672 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001282/0.7026, allocations: 0.712 MB / 0.7679 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002104/0.7047, allocations: 0.9149 MB / 0.7688 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007873/0.7055, allocations: 0.5289 MB / 0.7693 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.7056, allocations: 40 kB / 0.7694 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003159/0.7088, allocations: 1.166 MB / 0.7705 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003335/0.7091, allocations: 291 kB / 0.7708 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003084/0.7095, allocations: 237.1 kB / 0.771 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001896/0.7114, allocations: 1.622 MB / 0.7726 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.7114, allocations: 0 / 0.7726 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.326e-06/0.7114, allocations: 0 / 0.7726 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.867e-05/0.7114, allocations: 0 / 0.7726 GB, free: 8.523 MB / 0.5919 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.003313/0.7147, allocations: 1.388 MB / 0.7739 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.7148, allocations: 8.031 kB / 0.774 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001664/0.715, allocations: 114.5 kB / 0.7741 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002946/0.7179, allocations: 0.5996 MB / 0.7746 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001855/0.7198, allocations: 0.9298 MB / 0.7756 GB, free: 5.379 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001212/0.721, allocations: 309.1 kB / 0.7759 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.7211, allocations: 68 kB / 0.7759 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002527/0.7237, allocations: 1.148 MB / 0.777 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.7237, allocations: 0 / 0.777 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.341e-05/0.7238, allocations: 28.75 kB / 0.7771 GB, free: 3.801 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.739e-05/0.7238, allocations: 25.31 kB / 0.7771 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003247/0.7271, allocations: 1.25 MB / 0.7783 GB, free: 2.527 MB / 0.5919 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.006456/0.7336, allocations: 3.281 MB / 0.7815 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001838/0.7354, allocations: 0.7061 MB / 0.7822 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006748/0.7361, allocations: 0.6653 MB / 0.7829 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00108/0.7372, allocations: 0.5221 MB / 0.7834 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=57): time 2.645e-06/0.7372, allocations: 0 / 0.7834 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=57): time 0.003214/0.7404, allocations: 1.32 MB / 0.7847 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.907e-05/0.7405, allocations: 144.8 kB / 0.7848 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002073/0.7426, allocations: 1.215 MB / 0.786 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.161e-05/0.7427, allocations: 41.7 kB / 0.786 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003989/0.7431, allocations: 441.4 kB / 0.7864 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001762/0.7433, allocations: 185.3 kB / 0.7866 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/0.7434, allocations: 12 kB / 0.7866 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.7435, allocations: 330 kB / 0.7869 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001306/0.7448, allocations: 488.9 kB / 0.7874 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001467/0.7463, allocations: 0.6289 MB / 0.788 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001396/0.7477, allocations: 0.5385 MB / 0.7885 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.7477, allocations: 0 / 0.7885 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003309/0.751, allocations: 1.287 MB / 0.7898 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.529e-05/0.7511, allocations: 37.69 kB / 0.7898 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.7511, allocations: 4 kB / 0.7898 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.7511, allocations: 4.281 kB / 0.7898 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009964/0.7521, allocations: 219.7 kB / 0.7901 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.7522, allocations: 4 kB / 0.7901 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001747/0.7539, allocations: 307.9 kB / 0.7904 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.058e-05/0.754, allocations: 39.97 kB / 0.7904 GB, free: 5.73 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (67): * Single equations (assignments): 66 * 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.000611/0.7546, allocations: 324.1 kB / 0.7907 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001792/0.7548, allocations: 122.5 kB / 0.7908 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002173/0.757, allocations: 1.012 MB / 0.7918 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/0.757, allocations: 8.5 kB / 0.7918 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.7571, allocations: 4 kB / 0.7918 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.924e-06/0.7571, allocations: 0 / 0.7918 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004977/0.7621, allocations: 3.189 MB / 0.7949 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.457e-06/0.7621, allocations: 8.562 kB / 0.7949 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005776/0.7627, allocations: 127.8 kB / 0.7951 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.554e-05/0.7627, allocations: 12 kB / 0.7951 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.204e-05/0.7628, allocations: 23.98 kB / 0.7951 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.281e-05/0.7628, allocations: 15.94 kB / 0.7951 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.091e-05/0.7628, allocations: 15.94 kB / 0.7951 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002368/0.7652, allocations: 1.744 MB / 0.7968 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006023/0.7658, allocations: 335.3 kB / 0.7972 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001635/0.766, allocations: 20 kB / 0.7972 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/0.7671, allocations: 131.8 kB / 0.7973 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.337e-05/0.7672, allocations: 55.84 kB / 0.7973 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.537e-05/0.7673, allocations: 39.97 kB / 0.7974 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001572/0.7689, allocations: 0.8951 MB / 0.7983 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.9e-07/0.7689, allocations: 0 / 0.7983 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001017/0.7699, allocations: 295.8 kB / 0.7985 GB, free: 12.91 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (56): * Single equations (assignments): 51 * 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.003972/0.7739, allocations: 4.65 MB / 0.8031 GB, free: 8.027 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002477/0.7764, allocations: 1.045 MB / 0.8041 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.395e-06/0.7764, allocations: 4 kB / 0.8041 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008871/0.7773, allocations: 0.5176 MB / 0.8046 GB, free: 6.445 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002592/0.7799, allocations: 0.5291 MB / 0.8051 GB, free: 5.93 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01434/0.7943, allocations: 9.048 MB / 0.814 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006911/0.795, allocations: 1.092 MB / 0.815 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001206/0.7962, allocations: 281.9 kB / 0.8153 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004832/0.7967, allocations: 359.3 kB / 0.8156 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of SimCode: time 1.193e-06/0.7967, allocations: 0 / 0.8156 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05233/0.8491, allocations: 31.06 MB / 0.846 GB, free: 12.16 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002474/0.8494, allocations: 267.2 kB / 0.8462 GB, free: 11.81 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.376/3.225, allocations: 0 / 0.8462 GB, free: 11.81 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) Environment - environmentSimulation: