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.7495/0.7495, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001196/0.001196, allocations: 180.9 kB / 169.7 MB, free: 1.719 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.961/1.961, allocations: 205.1 MB / 404.5 MB, free: 1.578 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.001029/0.001029, allocations: 98.14 kB / 481.8 MB, free: 4.223 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.963e-05/6.003e-05, allocations: 4 kB / 0.5533 GB, free: 54.74 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2042, allocations: 76.76 MB / 0.6282 GB, free: 9.914 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.786/6.99, allocations: 2.384 GB / 3.012 GB, free: 144.1 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003974/6.991, allocations: 83.58 kB / 3.012 GB, free: 144.1 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.199/9.19, allocations: 0.6481 GB / 3.661 GB, free: 9.246 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.143e-06/9.19, allocations: 0 / 3.661 GB, free: 9.246 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001815/9.19, allocations: 39.92 kB / 3.661 GB, free: 9.207 MB / 0.6667 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.005227/9.195, allocations: 1.406 MB / 3.662 GB, free: 7.754 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.567e-05/9.195, allocations: 8.031 kB / 3.662 GB, free: 7.746 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004248/9.196, allocations: 114.5 kB / 3.662 GB, free: 7.625 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003287/9.199, allocations: 0.541 MB / 3.663 GB, free: 7.082 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5152/9.714, allocations: 12.58 MB / 3.675 GB, free: 105.4 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001396/9.716, allocations: 319.5 kB / 3.675 GB, free: 105.4 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002862/9.716, allocations: 70.75 kB / 3.675 GB, free: 105.4 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002129/9.718, allocations: 0.9601 MB / 3.676 GB, free: 105.3 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/9.718, allocations: 3.75 kB / 3.676 GB, free: 105.3 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/9.718, allocations: 28.2 kB / 3.676 GB, free: 105.3 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.95e-05/9.718, allocations: 32.61 kB / 3.676 GB, free: 105.3 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/9.72, allocations: 0.8604 MB / 3.677 GB, free: 105.3 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007456/9.728, allocations: 3.25 MB / 3.68 GB, free: 104.4 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001261/9.729, allocations: 0.5892 MB / 3.681 GB, free: 104.4 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004891/9.729, allocations: 327.7 kB / 3.681 GB, free: 104.4 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009249/9.73, allocations: 1.032 MB / 3.682 GB, free: 103.2 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007956/9.731, allocations: 457.1 kB / 3.683 GB, free: 103.1 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=51): time 2.515e-06/9.731, allocations: 0 / 3.683 GB, free: 103.1 MB / 0.6667 GB Notification: Performance of matching and sorting (n=51): time 0.002022/9.733, allocations: 0.7883 MB / 3.683 GB, free: 103 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.348e-05/9.733, allocations: 171 kB / 3.684 GB, free: 102.8 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001586/9.735, allocations: 0.9576 MB / 3.684 GB, free: 102.6 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.578e-05/9.735, allocations: 38.61 kB / 3.684 GB, free: 102.6 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003852/9.735, allocations: 451.5 kB / 3.685 GB, free: 102.5 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001744/9.736, allocations: 171.6 kB / 3.685 GB, free: 102.4 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.694e-05/9.736, allocations: 13.25 kB / 3.685 GB, free: 102.4 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.401e-05/9.736, allocations: 332.3 kB / 3.685 GB, free: 102.1 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005419/9.736, allocations: 294.1 kB / 3.686 GB, free: 102.1 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007021/9.737, allocations: 476.3 kB / 3.686 GB, free: 101.9 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006402/9.738, allocations: 381 kB / 3.687 GB, free: 101.9 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/9.738, allocations: 1.156 kB / 3.687 GB, free: 101.9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001813/9.739, allocations: 0.9127 MB / 3.687 GB, free: 101.8 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 4.919e-05/9.74, allocations: 35.69 kB / 3.687 GB, free: 101.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/9.74, allocations: 4.531 kB / 3.687 GB, free: 101.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/9.74, allocations: 5.375 kB / 3.687 GB, free: 101.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/9.741, allocations: 209.4 kB / 3.688 GB, free: 101.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.856e-05/9.741, allocations: 5.578 kB / 3.688 GB, free: 101.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00179/9.743, allocations: 308.8 kB / 3.688 GB, free: 101.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00015/9.743, allocations: 42.36 kB / 3.688 GB, free: 101.7 MB / 0.6667 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 () * 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.0002495/9.743, allocations: 179.2 kB / 3.688 GB, free: 101.6 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001959/9.743, allocations: 114.2 kB / 3.688 GB, free: 101.5 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001788/9.745, allocations: 0.8464 MB / 3.689 GB, free: 101.4 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/9.745, allocations: 6.422 kB / 3.689 GB, free: 101.4 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.996e-06/9.745, allocations: 0.9062 kB / 3.689 GB, free: 101.4 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/9.745, allocations: 2.859 kB / 3.689 GB, free: 101.4 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004447/9.749, allocations: 2.617 MB / 3.692 GB, free: 100.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/9.749, allocations: 8.219 kB / 3.692 GB, free: 100.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006118/9.75, allocations: 106.5 kB / 3.692 GB, free: 100.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.695e-05/9.75, allocations: 10.88 kB / 3.692 GB, free: 100.7 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.421e-05/9.75, allocations: 24.47 kB / 3.692 GB, free: 100.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-05/9.75, allocations: 14.09 kB / 3.692 GB, free: 100.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.187e-05/9.75, allocations: 9.875 kB / 3.692 GB, free: 100.7 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001885/9.752, allocations: 1.348 MB / 3.693 GB, free: 99.83 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007139/9.753, allocations: 325.2 kB / 3.693 GB, free: 99.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/9.753, allocations: 21.69 kB / 3.693 GB, free: 99.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/9.754, allocations: 132.2 kB / 3.694 GB, free: 99.68 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/9.754, allocations: 44.44 kB / 3.694 GB, free: 99.67 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/9.754, allocations: 34.48 kB / 3.694 GB, free: 99.67 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0019/9.756, allocations: 0.8038 MB / 3.694 GB, free: 99.55 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.645e-06/9.756, allocations: 0 / 3.694 GB, free: 99.55 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002451/9.759, allocations: 436.2 kB / 3.695 GB, free: 99.55 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (42): * Single equations (assignments): 41 * 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.005074/9.764, allocations: 5.049 MB / 3.7 GB, free: 96.21 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001602/9.766, allocations: 0.7371 MB / 3.701 GB, free: 96.14 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/9.766, allocations: 2.406 kB / 3.701 GB, free: 96.14 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005686/9.766, allocations: 384.4 kB / 3.701 GB, free: 96.07 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003026/9.769, allocations: 0.5039 MB / 3.701 GB, free: 96.07 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004064/9.773, allocations: 1.659 MB / 3.703 GB, free: 95.52 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007276/9.774, allocations: 1.069 MB / 3.704 GB, free: 94.81 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001446/9.775, allocations: 263.6 kB / 3.704 GB, free: 94.8 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006232/9.776, allocations: 369.1 kB / 3.705 GB, free: 94.79 MB / 0.6667 GB Notification: Performance of SimCode: time 1.703e-06/9.776, allocations: 0 / 3.705 GB, free: 94.79 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.123/9.899, allocations: 54.93 MB / 3.758 GB, free: 93.29 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002159/9.899, allocations: 217 kB / 3.759 GB, free: 93.07 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.99/13.89, allocations: 3.125 kB / 3.759 GB, free: 93.07 MB / 0.6667 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)