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.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.006987/0.006987, allocations: 96.98 kB / 15.73 MB, free: 5.988 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.001865/0.001865, allocations: 188 kB / 16.67 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.9836/0.9836, allocations: 143.3 MB / 433.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001936, allocations: 67.89 kB / 0.5953 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3297, allocations: 82.03 MB / 0.6754 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.212/0.5418, allocations: 194.1 MB / 0.865 GB, free: 3.398 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.3289/0.8707, allocations: 6.926 MB / 0.8717 GB, free: 2.02 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009432/0.8717, allocations: 46.62 kB / 0.8718 GB, free: 2.02 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001402/0.8731, allocations: 0.6838 MB / 0.8724 GB, free: 2.02 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.004815/0.8779, allocations: 2.342 MB / 0.8747 GB, free: 1.938 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002821/0.8808, allocations: 1.429 MB / 0.8761 GB, free: 1.891 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003169/0.8839, allocations: 2.994 MB / 0.879 GB, free: 1.875 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001048/0.885, allocations: 0.8884 MB / 0.8799 GB, free: 1.785 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002148/0.8872, allocations: 1.14 MB / 0.881 GB, free: 1.781 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001248/0.8884, allocations: 0.7961 MB / 0.8818 GB, free: 1.781 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002218/0.8886, allocations: 99.59 kB / 0.8819 GB, free: 1.781 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003581/0.8922, allocations: 2.061 MB / 0.8839 GB, free: 1.758 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003295/0.8926, allocations: 364.2 kB / 0.8843 GB, free: 1.758 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005914/0.8932, allocations: 0.5871 MB / 0.8848 GB, free: 1.758 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002936/0.8961, allocations: 2.514 MB / 0.8873 GB, free: 1.621 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.8961, allocations: 2.25 kB / 0.8873 GB, free: 1.621 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.203e-06/0.8961, allocations: 0 / 0.8873 GB, free: 1.621 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.39e-05/0.8962, allocations: 0 / 0.8873 GB, free: 1.621 MB / 0.6856 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.003152/0.8993, allocations: 1.683 MB / 0.8889 GB, free: 16.71 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.8994, allocations: 10 kB / 0.8889 GB, free: 16.71 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001378/0.8995, allocations: 114 kB / 0.889 GB, free: 16.68 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003008/0.9025, allocations: 0.5392 MB / 0.8896 GB, free: 16.61 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001995/0.9045, allocations: 1.047 MB / 0.8906 GB, free: 16.26 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.523e-05/0.9046, allocations: 56.92 kB / 0.8906 GB, free: 16.26 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.9047, allocations: 67.06 kB / 0.8907 GB, free: 16.26 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002284/0.907, allocations: 1.112 MB / 0.8918 GB, free: 16.15 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.907, allocations: 0 / 0.8918 GB, free: 16.15 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.634e-05/0.9071, allocations: 30.52 kB / 0.8918 GB, free: 16.15 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-05/0.9072, allocations: 31.66 kB / 0.8919 GB, free: 16.15 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002821/0.91, allocations: 1.162 MB / 0.893 GB, free: 16.14 MB / 0.7012 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.004747/0.9148, allocations: 3.183 MB / 0.8961 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001522/0.9163, allocations: 0.6855 MB / 0.8968 GB, free: 15.17 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007136/0.917, allocations: 430 kB / 0.8972 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009841/0.918, allocations: 1.028 MB / 0.8982 GB, free: 14.04 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009044/0.9189, allocations: 0.5125 MB / 0.8987 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=57): time 2.074e-06/0.9189, allocations: 0.5625 kB / 0.8987 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of matching and sorting (n=57): time 0.002701/0.9216, allocations: 1.23 MB / 0.8999 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.054e-05/0.9218, allocations: 139.7 kB / 0.9 GB, free: 13.63 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001573/0.9233, allocations: 1.179 MB / 0.9012 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.093e-05/0.9234, allocations: 38.58 kB / 0.9012 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002863/0.9237, allocations: 444.2 kB / 0.9016 GB, free: 13.31 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.9239, allocations: 198.1 kB / 0.9018 GB, free: 13.19 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000263/0.9241, allocations: 147.2 kB / 0.902 GB, free: 13.17 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.9243, allocations: 331.5 kB / 0.9023 GB, free: 12.86 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001183/0.9255, allocations: 439.7 kB / 0.9027 GB, free: 12.86 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001342/0.9268, allocations: 0.5946 MB / 0.9033 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001962/0.9288, allocations: 0.9288 MB / 0.9042 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.9288, allocations: 3.031 kB / 0.9042 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002894/0.9317, allocations: 1.201 MB / 0.9054 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.618e-05/0.9318, allocations: 36.59 kB / 0.9054 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.9318, allocations: 3.031 kB / 0.9054 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.9318, allocations: 9.281 kB / 0.9054 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009072/0.9327, allocations: 187.7 kB / 0.9056 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.9327, allocations: 11.44 kB / 0.9056 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/0.9342, allocations: 244.5 kB / 0.9058 GB, free: 12.33 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.976e-05/0.9343, allocations: 40.14 kB / 0.9059 GB, free: 12.33 MB / 0.7012 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 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003961/0.9347, allocations: 327.6 kB / 0.9062 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002043/0.9349, allocations: 122.5 kB / 0.9063 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001985/0.9369, allocations: 0.9986 MB / 0.9073 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.9369, allocations: 7.438 kB / 0.9073 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.309e-06/0.9369, allocations: 0 / 0.9073 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.9369, allocations: 6.594 kB / 0.9073 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004331/0.9413, allocations: 3.161 MB / 0.9104 GB, free: 11.27 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.9413, allocations: 7.188 kB / 0.9104 GB, free: 11.27 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005895/0.9419, allocations: 123.3 kB / 0.9105 GB, free: 11.27 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-05/0.9419, allocations: 18.89 kB / 0.9105 GB, free: 11.26 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.609e-05/0.942, allocations: 26.59 kB / 0.9105 GB, free: 11.26 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.766e-06/0.942, allocations: 18.03 kB / 0.9106 GB, free: 11.26 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.942, allocations: 9.938 kB / 0.9106 GB, free: 11.26 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002042/0.944, allocations: 1.345 MB / 0.9119 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004293/0.9445, allocations: 343.8 kB / 0.9122 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/0.9446, allocations: 23.16 kB / 0.9122 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/0.9457, allocations: 101.8 kB / 0.9123 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.161e-05/0.9458, allocations: 52.09 kB / 0.9124 GB, free: 10.49 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.157e-05/0.9459, allocations: 44.84 kB / 0.9124 GB, free: 10.49 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001254/0.9472, allocations: 0.848 MB / 0.9132 GB, free: 10.37 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.61e-07/0.9472, allocations: 0 / 0.9132 GB, free: 10.37 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0009106/0.9481, allocations: 307.7 kB / 0.9135 GB, free: 10.34 MB / 0.7012 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002814/0.9509, allocations: 2.126 MB / 0.9156 GB, free: 9.195 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00206/0.953, allocations: 1.024 MB / 0.9166 GB, free: 9.098 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.953, allocations: 2.125 kB / 0.9166 GB, free: 9.098 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0008384/0.9539, allocations: 0.5156 MB / 0.9171 GB, free: 9.027 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002507/0.9564, allocations: 0.5462 MB / 0.9177 GB, free: 8.93 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01498/0.9714, allocations: 9.423 MB / 0.9269 GB, free: 6.066 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006774/0.9721, allocations: 1.07 MB / 0.9279 GB, free: 5.352 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0009072/0.973, allocations: 267.4 kB / 0.9282 GB, free: 5.297 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004747/0.9735, allocations: 362 kB / 0.9285 GB, free: 5.285 MB / 0.7012 GB Notification: Performance of SimCode: time 3.01e-07/0.9735, allocations: 0 / 0.9285 GB, free: 5.285 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.659/4.632, allocations: 31.96 MB / 0.9597 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/17.29, allocations: 20.95 kB / 0.9597 GB, free: 13.94 MB / 0.7325 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/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)