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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.006365/0.006365, allocations: 98.97 kB / 15.73 MB, free: 6.043 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.00134/0.00134, allocations: 195 kB / 16.67 MB, free: 5.961 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.6.0/package.mo): time 0.967/0.967, allocations: 143 MB / 433.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 63.91 kB / 0.595 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4598/0.4612, allocations: 82.03 MB / 0.6751 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.1837/0.645, allocations: 161.5 MB / 0.8329 GB, free: 4.258 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003321/0.6484, allocations: 1.717 MB / 0.8346 GB, free: 2.539 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005739/0.649, allocations: 15.88 kB / 0.8346 GB, free: 2.523 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008032/0.6499, allocations: 155 kB / 0.8348 GB, free: 2.371 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001777/0.6517, allocations: 0.5094 MB / 0.8352 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.6529, allocations: 426.4 kB / 0.8357 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0009183/0.6539, allocations: 0.5693 MB / 0.8362 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004248/0.6543, allocations: 184.4 kB / 0.8364 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007797/0.6551, allocations: 314.8 kB / 0.8367 GB, free: 400 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002667/0.6554, allocations: 151.2 kB / 0.8368 GB, free: 248 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.529e-05/0.6554, allocations: 12 kB / 0.8368 GB, free: 236 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00126/0.6567, allocations: 0.6976 MB / 0.8375 GB, free: 15.53 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.6568, allocations: 79.73 kB / 0.8376 GB, free: 15.45 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001614/0.657, allocations: 119.3 kB / 0.8377 GB, free: 15.34 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.000923/0.6579, allocations: 0.5063 MB / 0.8382 GB, free: 14.83 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.6579, allocations: 0 / 0.8382 GB, free: 14.83 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.134e-06/0.6579, allocations: 0 / 0.8382 GB, free: 14.83 MB / 0.67 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.658, allocations: 0 / 0.8382 GB, free: 14.83 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.0009583/0.6589, allocations: 0.5838 MB / 0.8388 GB, free: 14.2 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.659, allocations: 8.031 kB / 0.8388 GB, free: 14.19 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.898e-05/0.659, allocations: 46.55 kB / 0.8388 GB, free: 14.13 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003664/0.6594, allocations: 55.67 kB / 0.8389 GB, free: 14.08 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005091/0.6599, allocations: 313.2 kB / 0.8392 GB, free: 13.73 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.66, allocations: 8 kB / 0.8392 GB, free: 13.72 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.138e-05/0.66, allocations: 20 kB / 0.8392 GB, free: 13.7 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000387/0.6604, allocations: 192.1 kB / 0.8394 GB, free: 13.5 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.6604, allocations: 0 / 0.8394 GB, free: 13.5 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/0.6604, allocations: 4 kB / 0.8394 GB, free: 13.5 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.6604, allocations: 4 kB / 0.8394 GB, free: 13.49 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003045/0.6608, allocations: 127.9 kB / 0.8395 GB, free: 13.37 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.001036/0.6618, allocations: 0.7853 MB / 0.8403 GB, free: 12.51 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002474/0.6621, allocations: 82.53 kB / 0.8404 GB, free: 12.42 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.6622, allocations: 76.81 kB / 0.8404 GB, free: 12.34 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002744/0.6625, allocations: 190.2 kB / 0.8406 GB, free: 12.12 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.6625, allocations: 30.56 kB / 0.8407 GB, free: 12.08 MB / 0.67 GB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.6625, allocations: 4 kB / 0.8407 GB, free: 12.08 MB / 0.67 GB Notification: Performance of matching and sorting (n=10): time 0.0006759/0.6632, allocations: 221.4 kB / 0.8409 GB, free: 11.86 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.6633, allocations: 51.41 kB / 0.8409 GB, free: 11.79 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002656/0.6635, allocations: 275 kB / 0.8412 GB, free: 11.52 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.6636, allocations: 25.7 kB / 0.8412 GB, free: 11.49 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 9.039e-05/0.6637, allocations: 148 kB / 0.8413 GB, free: 11.34 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.44e-05/0.6637, allocations: 35.47 kB / 0.8414 GB, free: 11.31 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.11e-05/0.6638, allocations: 29.7 kB / 0.8414 GB, free: 11.27 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.6639, allocations: 334.8 kB / 0.8417 GB, free: 10.94 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.664, allocations: 44.83 kB / 0.8418 GB, free: 10.89 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.6642, allocations: 97.05 kB / 0.8419 GB, free: 10.78 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002674/0.6645, allocations: 127.3 kB / 0.842 GB, free: 10.64 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.6645, allocations: 0 / 0.842 GB, free: 10.64 MB / 0.67 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000348/0.6648, allocations: 157.3 kB / 0.8421 GB, free: 10.48 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.6649, allocations: 4 kB / 0.8421 GB, free: 10.48 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.6649, allocations: 3.938 kB / 0.8421 GB, free: 10.47 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.6649, allocations: 7.938 kB / 0.8421 GB, free: 10.46 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.665, allocations: 23.98 kB / 0.8422 GB, free: 10.44 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.665, allocations: 0 / 0.8422 GB, free: 10.44 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.6652, allocations: 19.92 kB / 0.8422 GB, free: 10.42 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.316e-05/0.6652, allocations: 4 kB / 0.8422 GB, free: 10.42 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001951/0.6654, allocations: 152.1 kB / 0.8423 GB, free: 10.27 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001548/0.6656, allocations: 93.11 kB / 0.8424 GB, free: 10.16 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002455/0.6659, allocations: 123.3 kB / 0.8425 GB, free: 10.02 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.112e-06/0.6659, allocations: 0 / 0.8425 GB, free: 10.02 MB / 0.67 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003198/0.6662, allocations: 153.5 kB / 0.8427 GB, free: 9.867 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.755e-06/0.6662, allocations: 4 kB / 0.8427 GB, free: 9.863 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.6662, allocations: 4 kB / 0.8427 GB, free: 9.859 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.909e-06/0.6662, allocations: 3.938 kB / 0.8427 GB, free: 9.855 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.6663, allocations: 27.92 kB / 0.8427 GB, free: 9.828 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.6664, allocations: 4 kB / 0.8427 GB, free: 9.824 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.6665, allocations: 24.41 kB / 0.8428 GB, free: 9.801 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.6666, allocations: 4 kB / 0.8428 GB, free: 9.797 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 9.769e-05/0.6667, allocations: 184.3 kB / 0.8429 GB, free: 9.609 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.887e-05/0.6667, allocations: 19.72 kB / 0.843 GB, free: 9.59 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003584/0.6671, allocations: 171.2 kB / 0.8431 GB, free: 9.41 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.6671, allocations: 0 / 0.8431 GB, free: 9.41 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.6671, allocations: 4 kB / 0.8431 GB, free: 9.406 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.6671, allocations: 0 / 0.8431 GB, free: 9.406 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008675/0.668, allocations: 0.5975 MB / 0.8437 GB, free: 8.73 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.668, allocations: 4 kB / 0.8437 GB, free: 8.727 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.6681, allocations: 19.98 kB / 0.8437 GB, free: 8.707 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.6681, allocations: 4 kB / 0.8437 GB, free: 8.703 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.6681, allocations: 0 / 0.8437 GB, free: 8.703 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.6682, allocations: 4 kB / 0.8437 GB, free: 8.699 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.6682, allocations: 4 kB / 0.8437 GB, free: 8.695 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003863/0.6686, allocations: 305.2 kB / 0.844 GB, free: 8.359 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.6687, allocations: 112.8 kB / 0.8441 GB, free: 8.23 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.463e-05/0.6687, allocations: 4 kB / 0.8441 GB, free: 8.227 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.6689, allocations: 15.98 kB / 0.8442 GB, free: 8.211 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.812e-05/0.669, allocations: 11.92 kB / 0.8442 GB, free: 8.199 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.669, allocations: 7.938 kB / 0.8442 GB, free: 8.191 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0001837/0.6692, allocations: 197.9 kB / 0.8444 GB, free: 7.996 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6692, allocations: 8 kB / 0.8444 GB, free: 7.988 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004444/0.6696, allocations: 91.84 kB / 0.8445 GB, free: 7.898 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.0009842/0.6706, allocations: 0.9014 MB / 0.8453 GB, free: 6.957 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0004688/0.6711, allocations: 159.8 kB / 0.8455 GB, free: 6.801 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.6711, allocations: 4 kB / 0.8455 GB, free: 6.797 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.6713, allocations: 63.83 kB / 0.8456 GB, free: 6.734 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007228/0.672, allocations: 113.3 kB / 0.8457 GB, free: 6.625 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002845/0.6749, allocations: 2.351 MB / 0.848 GB, free: 4.141 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.6752, allocations: 0.7558 MB / 0.8487 GB, free: 3.355 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002183/0.6754, allocations: 66.53 kB / 0.8488 GB, free: 3.289 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.6756, allocations: 71.41 kB / 0.8488 GB, free: 3.219 MB / 0.67 GB Notification: Performance of SimCode: time 2.084e-06/0.6756, allocations: 4 kB / 0.8488 GB, free: 3.215 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02528/0.7009, allocations: 6.892 MB / 0.8556 GB, free: 12.51 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.333/9.034, allocations: 19.48 kB / 0.8556 GB, free: 12.49 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)