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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.776/0.776, allocations: 127.4 MB / 134.9 MB, free: 3.723 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001194/0.001194, allocations: 176.9 kB / 164.6 MB, free: 6.531 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.048/2.048, allocations: 205.2 MB / 399.5 MB, free: 5.875 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001491/0.001491, allocations: 99.39 kB / 476.7 MB, free: 8.602 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.447e-05/2.448e-05, allocations: 4 kB / 0.5467 GB, free: 60.4 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2045, allocations: 76.77 MB / 0.6216 GB, free: 15.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.855/7.059, allocations: 2.384 GB / 3.005 GB, free: 168.9 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/7.06, allocations: 89.44 kB / 3.005 GB, free: 168.8 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.161/9.22, allocations: 0.6415 GB / 3.647 GB, free: 32.85 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.786e-06/9.22, allocations: 0 / 3.647 GB, free: 32.85 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001004/9.22, allocations: 39.98 kB / 3.647 GB, free: 32.81 MB / 0.6511 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.003951/9.224, allocations: 1.402 MB / 3.648 GB, free: 31.36 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/9.224, allocations: 8.031 kB / 3.648 GB, free: 31.36 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002681/9.227, allocations: 0.5416 MB / 3.649 GB, free: 30.81 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02362/9.251, allocations: 12.55 MB / 3.661 GB, free: 18.09 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001117/9.252, allocations: 297 kB / 3.661 GB, free: 17.8 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/9.252, allocations: 44 kB / 3.661 GB, free: 17.76 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001328/9.253, allocations: 0.7569 MB / 3.662 GB, free: 17 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/9.255, allocations: 0.8706 MB / 3.663 GB, free: 16.09 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/9.255, allocations: 0 / 3.663 GB, free: 16.09 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-05/9.255, allocations: 8 kB / 3.663 GB, free: 16.09 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-05/9.255, allocations: 37.25 kB / 3.663 GB, free: 16.05 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006045/9.261, allocations: 3.756 MB / 3.667 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006881/9.262, allocations: 0.532 MB / 3.667 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003195/9.262, allocations: 287.8 kB / 3.668 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004217/9.262, allocations: 384.4 kB / 3.668 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005598/9.263, allocations: 431.5 kB / 3.668 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=46): time 2.885e-06/9.263, allocations: 4 kB / 3.668 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of matching and sorting (n=46): time 0.001635/9.265, allocations: 0.6913 MB / 3.669 GB, free: 9.645 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.822e-05/9.265, allocations: 144.5 kB / 3.669 GB, free: 9.473 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007983/9.265, allocations: 0.6802 MB / 3.67 GB, free: 8.781 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.618e-05/9.266, allocations: 33.69 kB / 3.67 GB, free: 8.742 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002982/9.266, allocations: 491.2 kB / 3.67 GB, free: 8.258 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/9.266, allocations: 145.8 kB / 3.67 GB, free: 8.113 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-05/9.266, allocations: 4 kB / 3.67 GB, free: 8.109 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.969e-05/9.266, allocations: 333.9 kB / 3.671 GB, free: 7.777 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004025/9.267, allocations: 297 kB / 3.671 GB, free: 7.488 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005067/9.267, allocations: 495.9 kB / 3.672 GB, free: 6.934 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008276/9.268, allocations: 396.5 kB / 3.672 GB, free: 6.547 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/9.268, allocations: 7.188 kB / 3.672 GB, free: 6.543 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001555/9.269, allocations: 0.9087 MB / 3.673 GB, free: 5.625 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.287e-05/9.27, allocations: 37.64 kB / 3.673 GB, free: 5.582 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/9.27, allocations: 4 kB / 3.673 GB, free: 5.578 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.549e-05/9.27, allocations: 7.984 kB / 3.673 GB, free: 5.57 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/9.271, allocations: 216.1 kB / 3.673 GB, free: 5.359 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/9.271, allocations: 7.938 kB / 3.673 GB, free: 5.352 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/9.272, allocations: 259.3 kB / 3.673 GB, free: 5.098 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/9.272, allocations: 51.91 kB / 3.673 GB, free: 5.047 MB / 0.6511 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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.0001954/9.272, allocations: 157.5 kB / 3.674 GB, free: 4.883 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009885/9.273, allocations: 0.6716 MB / 3.674 GB, free: 4.203 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/9.273, allocations: 91 kB / 3.674 GB, free: 4.113 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002648/9.274, allocations: 92.5 kB / 3.674 GB, free: 4.02 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/9.274, allocations: 4.141 kB / 3.674 GB, free: 4.016 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/9.274, allocations: 3.953 kB / 3.674 GB, free: 4.012 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/9.274, allocations: 7.969 kB / 3.674 GB, free: 4.004 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003086/9.277, allocations: 2.459 MB / 3.677 GB, free: 1.422 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/9.277, allocations: 4 kB / 3.677 GB, free: 1.418 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005486/9.277, allocations: 116.5 kB / 3.677 GB, free: 1.305 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.074e-05/9.277, allocations: 8 kB / 3.677 GB, free: 1.297 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.966e-05/9.278, allocations: 19.94 kB / 3.677 GB, free: 1.277 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.543e-06/9.278, allocations: 11.94 kB / 3.677 GB, free: 1.266 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/9.278, allocations: 11.94 kB / 3.677 GB, free: 1.254 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5156/9.793, allocations: 1.228 MB / 3.678 GB, free: 98.17 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009249/9.794, allocations: 283.1 kB / 3.678 GB, free: 98.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001662/9.794, allocations: 16.48 kB / 3.678 GB, free: 98.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/9.796, allocations: 118 kB / 3.679 GB, free: 98.07 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/9.796, allocations: 46.84 kB / 3.679 GB, free: 98.07 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/9.796, allocations: 36.72 kB / 3.679 GB, free: 98.07 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0009883/9.797, allocations: 0.5273 MB / 3.679 GB, free: 97.98 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/9.797, allocations: 0.9062 kB / 3.679 GB, free: 97.98 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002174/9.799, allocations: 401.8 kB / 3.679 GB, free: 97.98 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * 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 Backend phase and start with SimCode phase: time 0.00616/9.805, allocations: 5.061 MB / 3.684 GB, free: 94.82 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001962/9.807, allocations: 0.7404 MB / 3.685 GB, free: 94.75 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/9.807, allocations: 1.344 kB / 3.685 GB, free: 94.75 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005719/9.808, allocations: 387.5 kB / 3.686 GB, free: 94.69 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002144/9.81, allocations: 339.6 kB / 3.686 GB, free: 94.68 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003606/9.814, allocations: 1.521 MB / 3.687 GB, free: 94.15 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007042/9.814, allocations: 1.07 MB / 3.688 GB, free: 93.45 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001179/9.816, allocations: 233.9 kB / 3.689 GB, free: 93.44 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005093/9.816, allocations: 343 kB / 3.689 GB, free: 93.44 MB / 0.6511 GB Notification: Performance of SimCode: time 1.283e-06/9.816, allocations: 6.344 kB / 3.689 GB, free: 93.44 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08128/9.897, allocations: 33.36 MB / 3.722 GB, free: 92.78 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/9.898, allocations: 195.6 kB / 3.722 GB, free: 92.52 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.106/13, allocations: 0 / 3.722 GB, free: 92.52 MB / 0.6511 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)