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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 97.92 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 219.8 kB / 23.03 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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.7.0/package.mo): time 0.9249/0.9249, allocations: 145 MB / 458.2 MB, free: 15.3 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 62.55 kB / 0.6339 GB, free: 6.75 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1973, allocations: 87.9 MB / 0.7197 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6245/0.8218, allocations: 171.8 MB / 0.8875 GB, free: 96 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01138/0.8331, allocations: 6.562 MB / 0.8939 GB, free: 9.523 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001526/0.8347, allocations: 71.31 kB / 0.894 GB, free: 9.453 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002064/0.8367, allocations: 0.6908 MB / 0.8946 GB, free: 8.758 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006876/0.8436, allocations: 2.424 MB / 0.897 GB, free: 6.324 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003971/0.8476, allocations: 1.469 MB / 0.8984 GB, free: 4.875 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004904/0.8525, allocations: 3.048 MB / 0.9014 GB, free: 1.816 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001409/0.8539, allocations: 0.7063 MB / 0.9021 GB, free: 1.102 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003079/0.857, allocations: 1.19 MB / 0.9033 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001508/0.8585, allocations: 0.851 MB / 0.9041 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000179/0.8587, allocations: 100 kB / 0.9042 GB, free: 14.97 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003886/0.8626, allocations: 1.718 MB / 0.9059 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005125/0.8631, allocations: 378.7 kB / 0.9062 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007371/0.8638, allocations: 481.7 kB / 0.9067 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004803/0.8686, allocations: 2.454 MB / 0.9091 GB, free: 9.941 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.8686, allocations: 0 / 0.9091 GB, free: 9.941 MB / 0.6856 GB Notification: Performance of FrontEnd: time 4.438e-06/0.8686, allocations: 4 kB / 0.9091 GB, free: 9.938 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.088e-05/0.8686, allocations: 0 / 0.9091 GB, free: 9.938 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.00385/0.8725, allocations: 1.606 MB / 0.9106 GB, free: 8.285 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.8725, allocations: 8.031 kB / 0.9107 GB, free: 8.277 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.301e-05/0.8726, allocations: 21.25 kB / 0.9107 GB, free: 8.258 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001431/0.8727, allocations: 110.5 kB / 0.9108 GB, free: 8.141 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003116/0.8758, allocations: 0.5416 MB / 0.9113 GB, free: 7.598 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002487/0.8783, allocations: 0.9753 MB / 0.9123 GB, free: 6.602 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.674e-05/0.8784, allocations: 53.3 kB / 0.9123 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.8785, allocations: 68 kB / 0.9124 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002668/0.8812, allocations: 1.242 MB / 0.9136 GB, free: 5.184 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.8812, allocations: 0 / 0.9136 GB, free: 5.184 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.798e-05/0.8813, allocations: 24 kB / 0.9136 GB, free: 5.16 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-05/0.8813, allocations: 37.3 kB / 0.9136 GB, free: 5.125 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003128/0.8845, allocations: 1.19 MB / 0.9148 GB, free: 3.93 MB / 0.6856 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.006315/0.8908, allocations: 2.892 MB / 0.9176 GB, free: 0.9648 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001874/0.8927, allocations: 0.6818 MB / 0.9183 GB, free: 276 kB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008724/0.8935, allocations: 424.8 kB / 0.9187 GB, free: 15.85 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005398/0.8941, allocations: 132.3 kB / 0.9188 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00117/0.8952, allocations: 0.6433 MB / 0.9195 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=57): time 3.035e-06/0.8952, allocations: 4 kB / 0.9195 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of matching and sorting (n=57): time 0.003286/0.8985, allocations: 1.291 MB / 0.9207 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/0.8986, allocations: 148.7 kB / 0.9209 GB, free: 13.53 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002094/0.9007, allocations: 1.176 MB / 0.922 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.9008, allocations: 41.7 kB / 0.9221 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004407/0.9013, allocations: 445.8 kB / 0.9225 GB, free: 11.85 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002034/0.9015, allocations: 198.3 kB / 0.9227 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002904/0.9018, allocations: 146.2 kB / 0.9228 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.902, allocations: 330 kB / 0.9231 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001248/0.9032, allocations: 474.7 kB / 0.9236 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001688/0.9049, allocations: 0.9784 MB / 0.9245 GB, free: 9.586 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002082/0.907, allocations: 0.9293 MB / 0.9254 GB, free: 8.602 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.907, allocations: 4 kB / 0.9254 GB, free: 8.598 MB / 0.7012 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003128/0.9101, allocations: 1.238 MB / 0.9267 GB, free: 7.344 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.633e-05/0.9102, allocations: 41.98 kB / 0.9267 GB, free: 7.297 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.9102, allocations: 4 kB / 0.9267 GB, free: 7.293 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.9102, allocations: 7.984 kB / 0.9267 GB, free: 7.285 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009275/0.9111, allocations: 187.7 kB / 0.9269 GB, free: 7.102 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-05/0.9111, allocations: 11.88 kB / 0.9269 GB, free: 7.09 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/0.9126, allocations: 247 kB / 0.9271 GB, free: 6.848 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.9127, allocations: 43.97 kB / 0.9272 GB, free: 6.805 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.0005283/0.9132, allocations: 323.4 kB / 0.9275 GB, free: 6.473 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002062/0.9134, allocations: 127.2 kB / 0.9276 GB, free: 6.348 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00222/0.9156, allocations: 1.029 MB / 0.9286 GB, free: 5.305 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/0.9157, allocations: 12 kB / 0.9286 GB, free: 5.293 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.9157, allocations: 7.875 kB / 0.9286 GB, free: 5.285 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.9157, allocations: 3.984 kB / 0.9286 GB, free: 5.281 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005019/0.9207, allocations: 2.999 MB / 0.9316 GB, free: 2.129 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/0.9207, allocations: 8 kB / 0.9316 GB, free: 2.121 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006026/0.9213, allocations: 119.8 kB / 0.9317 GB, free: 2.004 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.285e-05/0.9213, allocations: 8.188 kB / 0.9317 GB, free: 1.996 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.313e-05/0.9214, allocations: 31.98 kB / 0.9317 GB, free: 1.965 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-05/0.9214, allocations: 15.88 kB / 0.9317 GB, free: 1.949 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.068e-05/0.9214, allocations: 15.94 kB / 0.9317 GB, free: 1.934 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002267/0.9237, allocations: 1.384 MB / 0.9331 GB, free: 436 kB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005403/0.9242, allocations: 259 kB / 0.9333 GB, free: 176 kB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/0.9244, allocations: 23.98 kB / 0.9334 GB, free: 152 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.9255, allocations: 99.91 kB / 0.9335 GB, free: 52 kB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.9256, allocations: 63.72 kB / 0.9335 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.078e-05/0.9257, allocations: 43.92 kB / 0.9336 GB, free: 15.95 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00151/0.9272, allocations: 0.8481 MB / 0.9344 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9272, allocations: 0 / 0.9344 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001086/0.9283, allocations: 307.6 kB / 0.9347 GB, free: 14.79 MB / 0.7169 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.003367/0.9317, allocations: 2.16 MB / 0.9368 GB, free: 12.51 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002482/0.9341, allocations: 1.044 MB / 0.9378 GB, free: 11.44 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/0.9342, allocations: 4 kB / 0.9378 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009799/0.9351, allocations: 0.5064 MB / 0.9383 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002567/0.9377, allocations: 0.5554 MB / 0.9389 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01774/0.9554, allocations: 9.58 MB / 0.9482 GB, free: 360 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005881/0.956, allocations: 486.6 kB / 0.9487 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001069/0.9571, allocations: 268.3 kB / 0.9489 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005668/0.9577, allocations: 359.3 kB / 0.9493 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of SimCode: time 1.913e-06/0.9577, allocations: 7.938 kB / 0.9493 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06698/1.025, allocations: 34.33 MB / 0.9828 GB, free: 13.49 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.65/14.67, allocations: 9.5 kB / 0.9828 GB, free: 13.48 MB / 0.7637 GB " [Timeout remaining time 645] (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 --stepSize=1.44 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.47553858894389] Failed to read output from testmodel.py, exit status != 0: 14.853360466076992 14.870321396 13.998129674 Calling exit ...