Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.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.FixedResistances.Examples.PressureDrop,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_PressureDrop",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.007389/0.007388, allocations: 96.95 kB / 15.73 MB, free: 6.484 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.001851/0.001851, allocations: 192.3 kB / 16.67 MB, free: 6.391 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 4.312 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 1.017/1.017, allocations: 143.3 MB / 433.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 67.89 kB / 0.5953 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.3799, allocations: 82.03 MB / 0.6754 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.1971/0.577, allocations: 161.5 MB / 0.8332 GB, free: 4.082 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003009/0.58, allocations: 1.713 MB / 0.8348 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002989/0.5803, allocations: 11.94 kB / 0.8348 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005507/0.5809, allocations: 162.9 kB / 0.835 GB, free: 2.195 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001279/0.5822, allocations: 0.5017 MB / 0.8355 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.5833, allocations: 438.4 kB / 0.8359 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0008233/0.5842, allocations: 0.5693 MB / 0.8365 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000381/0.5846, allocations: 172.5 kB / 0.8366 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007798/0.5854, allocations: 326.6 kB / 0.8369 GB, free: 212 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000258/0.5856, allocations: 151.4 kB / 0.8371 GB, free: 60 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.72e-05/0.5857, allocations: 12 kB / 0.8371 GB, free: 48 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001359/0.5871, allocations: 0.7016 MB / 0.8378 GB, free: 15.34 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.5872, allocations: 75.61 kB / 0.8378 GB, free: 15.27 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.5873, allocations: 115.4 kB / 0.838 GB, free: 15.16 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0008706/0.5882, allocations: 0.5095 MB / 0.8385 GB, free: 14.65 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.5882, allocations: 0 / 0.8385 GB, free: 14.65 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5882, allocations: 0 / 0.8385 GB, free: 14.65 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.5883, allocations: 0 / 0.8385 GB, free: 14.65 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.000947/0.5892, allocations: 0.595 MB / 0.839 GB, free: 14 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.5893, allocations: 11.97 kB / 0.839 GB, free: 13.99 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.589e-05/0.5893, allocations: 50.55 kB / 0.8391 GB, free: 13.93 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003365/0.5897, allocations: 51.78 kB / 0.8391 GB, free: 13.88 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000457/0.5901, allocations: 309.5 kB / 0.8394 GB, free: 13.54 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.5902, allocations: 8 kB / 0.8394 GB, free: 13.53 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.784e-05/0.5902, allocations: 23.98 kB / 0.8395 GB, free: 13.51 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003736/0.5906, allocations: 192.1 kB / 0.8396 GB, free: 13.3 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.5906, allocations: 0 / 0.8396 GB, free: 13.3 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.5906, allocations: 4 kB / 0.8397 GB, free: 13.3 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.5906, allocations: 8 kB / 0.8397 GB, free: 13.29 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003128/0.591, allocations: 131.8 kB / 0.8398 GB, free: 13.16 MB / 0.67 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.001041/0.592, allocations: 0.7855 MB / 0.8406 GB, free: 12.31 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00026/0.5923, allocations: 78.47 kB / 0.8406 GB, free: 12.22 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.5925, allocations: 80.86 kB / 0.8407 GB, free: 12.14 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003082/0.5928, allocations: 190.2 kB / 0.8409 GB, free: 11.92 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.5928, allocations: 34.56 kB / 0.8409 GB, free: 11.88 MB / 0.67 GB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.5928, allocations: 0 / 0.8409 GB, free: 11.88 MB / 0.67 GB Notification: Performance of matching and sorting (n=10): time 0.000686/0.5935, allocations: 217.6 kB / 0.8411 GB, free: 11.66 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.5936, allocations: 55.41 kB / 0.8412 GB, free: 11.59 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002834/0.5939, allocations: 267 kB / 0.8414 GB, free: 11.33 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.5939, allocations: 29.8 kB / 0.8415 GB, free: 11.29 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.594, allocations: 151.9 kB / 0.8416 GB, free: 11.14 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.04e-05/0.5941, allocations: 39.69 kB / 0.8416 GB, free: 11.1 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.261e-05/0.5941, allocations: 29.7 kB / 0.8417 GB, free: 11.07 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.5943, allocations: 334.8 kB / 0.842 GB, free: 10.73 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.5944, allocations: 48.81 kB / 0.842 GB, free: 10.68 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.5946, allocations: 93.11 kB / 0.8421 GB, free: 10.57 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/0.5949, allocations: 127.3 kB / 0.8423 GB, free: 10.43 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.5949, allocations: 0 / 0.8423 GB, free: 10.43 MB / 0.67 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003493/0.5953, allocations: 153.4 kB / 0.8424 GB, free: 10.28 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.5953, allocations: 4 kB / 0.8424 GB, free: 10.27 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.5953, allocations: 3.938 kB / 0.8424 GB, free: 10.27 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.5953, allocations: 7.984 kB / 0.8424 GB, free: 10.26 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.5955, allocations: 23.92 kB / 0.8424 GB, free: 10.24 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.5955, allocations: 3.938 kB / 0.8424 GB, free: 10.23 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.5957, allocations: 35.97 kB / 0.8425 GB, free: 10.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/0.5957, allocations: 4 kB / 0.8425 GB, free: 10.2 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002082/0.5959, allocations: 144.1 kB / 0.8426 GB, free: 10.05 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002145/0.5961, allocations: 93.09 kB / 0.8427 GB, free: 9.941 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002562/0.5964, allocations: 115.3 kB / 0.8428 GB, free: 9.816 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.082e-06/0.5964, allocations: 0 / 0.8428 GB, free: 9.816 MB / 0.67 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003402/0.5968, allocations: 165.5 kB / 0.843 GB, free: 9.648 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.035e-06/0.5968, allocations: 4 kB / 0.843 GB, free: 9.645 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.5968, allocations: 4.031 kB / 0.843 GB, free: 9.641 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.318e-06/0.5968, allocations: 7.938 kB / 0.843 GB, free: 9.633 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.5969, allocations: 19.98 kB / 0.843 GB, free: 9.613 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.5969, allocations: 4 kB / 0.843 GB, free: 9.609 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.5971, allocations: 15.98 kB / 0.843 GB, free: 9.594 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.5971, allocations: 4 kB / 0.843 GB, free: 9.59 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001358/0.5972, allocations: 192.2 kB / 0.8432 GB, free: 9.395 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.869e-05/0.5973, allocations: 19.86 kB / 0.8432 GB, free: 9.375 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004196/0.5977, allocations: 171.6 kB / 0.8434 GB, free: 9.195 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.259e-06/0.5977, allocations: 0 / 0.8434 GB, free: 9.195 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.5978, allocations: 3.938 kB / 0.8434 GB, free: 9.191 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.5978, allocations: 0 / 0.8434 GB, free: 9.191 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009436/0.5987, allocations: 0.5937 MB / 0.844 GB, free: 8.52 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.5987, allocations: 4 kB / 0.844 GB, free: 8.516 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.5988, allocations: 19.98 kB / 0.844 GB, free: 8.496 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/0.5989, allocations: 7.984 kB / 0.844 GB, free: 8.488 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.5989, allocations: 4.219 kB / 0.844 GB, free: 8.484 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/0.5989, allocations: 7.938 kB / 0.844 GB, free: 8.477 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.5989, allocations: 4 kB / 0.844 GB, free: 8.473 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000407/0.5993, allocations: 289.2 kB / 0.8443 GB, free: 8.152 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.5994, allocations: 116.9 kB / 0.8444 GB, free: 8.02 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.326e-05/0.5995, allocations: 4 kB / 0.8444 GB, free: 8.016 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.5997, allocations: 11.98 kB / 0.8444 GB, free: 8.004 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.387e-05/0.5997, allocations: 23.86 kB / 0.8444 GB, free: 7.98 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.5997, allocations: 4 kB / 0.8445 GB, free: 7.977 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002004/0.5999, allocations: 194 kB / 0.8446 GB, free: 7.785 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6, allocations: 7.938 kB / 0.8446 GB, free: 7.777 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004539/0.6004, allocations: 95.81 kB / 0.8447 GB, free: 7.684 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001037/0.6015, allocations: 0.8959 MB / 0.8456 GB, free: 6.746 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0005146/0.602, allocations: 175.7 kB / 0.8458 GB, free: 6.574 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.602, allocations: 0 / 0.8458 GB, free: 6.574 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.6022, allocations: 64.45 kB / 0.8458 GB, free: 6.512 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007481/0.6029, allocations: 119.8 kB / 0.846 GB, free: 6.398 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002999/0.6059, allocations: 2.345 MB / 0.8482 GB, free: 3.918 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/0.6064, allocations: 0.7674 MB / 0.849 GB, free: 3.121 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002392/0.6066, allocations: 70.53 kB / 0.8491 GB, free: 3.051 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.6067, allocations: 67.41 kB / 0.8491 GB, free: 2.984 MB / 0.67 GB Notification: Performance of SimCode: time 4.81e-07/0.6067, allocations: 0 / 0.8491 GB, free: 2.984 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.479/1.086, allocations: 6.925 MB / 0.8559 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.205/10.29, allocations: 11.92 kB / 0.8559 GB, free: 12.25 MB / 0.6856 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_PressureDrop.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)