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.004056/0.004056, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.001096/0.001096, allocations: 201.3 kB / 16.68 MB, free: 5.969 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.9661/0.9661, allocations: 143 MB / 433.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 63.91 kB / 0.595 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3531, allocations: 82.03 MB / 0.6752 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.1633/0.5165, allocations: 161.5 MB / 0.8329 GB, free: 4.258 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003335/0.5199, allocations: 1.71 MB / 0.8346 GB, free: 2.543 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002521/0.5202, allocations: 11.94 kB / 0.8346 GB, free: 2.531 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005259/0.5207, allocations: 162.9 kB / 0.8348 GB, free: 2.371 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001141/0.5219, allocations: 0.5329 MB / 0.8353 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009864/0.5229, allocations: 430.5 kB / 0.8357 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0006738/0.5236, allocations: 0.5732 MB / 0.8362 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002736/0.5239, allocations: 176.5 kB / 0.8364 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005469/0.5244, allocations: 322.8 kB / 0.8367 GB, free: 368 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001893/0.5246, allocations: 155.2 kB / 0.8369 GB, free: 212 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.942e-05/0.5247, allocations: 12 kB / 0.8369 GB, free: 200 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.5257, allocations: 0.6977 MB / 0.8376 GB, free: 15.5 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 9.505e-05/0.5258, allocations: 83.7 kB / 0.8376 GB, free: 15.41 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.5259, allocations: 119.4 kB / 0.8378 GB, free: 15.3 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0007111/0.5267, allocations: 0.5042 MB / 0.8382 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.5267, allocations: 4 kB / 0.8382 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5267, allocations: 0 / 0.8382 GB, free: 14.79 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.5267, allocations: 0 / 0.8382 GB, free: 14.79 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.0008274/0.5275, allocations: 0.5949 MB / 0.8388 GB, free: 14.14 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.5276, allocations: 8.031 kB / 0.8388 GB, free: 14.14 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.63e-05/0.5276, allocations: 46.55 kB / 0.8389 GB, free: 14.08 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003339/0.528, allocations: 63.78 kB / 0.8389 GB, free: 14.02 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004383/0.5284, allocations: 301.5 kB / 0.8392 GB, free: 13.68 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.5285, allocations: 12 kB / 0.8392 GB, free: 13.67 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.5285, allocations: 12 kB / 0.8393 GB, free: 13.66 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003676/0.5289, allocations: 196.1 kB / 0.8394 GB, free: 13.45 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.5289, allocations: 4 kB / 0.8394 GB, free: 13.45 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.5289, allocations: 4 kB / 0.8394 GB, free: 13.45 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.5289, allocations: 4 kB / 0.8395 GB, free: 13.44 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000311/0.5292, allocations: 131.8 kB / 0.8396 GB, free: 13.31 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.00104/0.5303, allocations: 0.7894 MB / 0.8403 GB, free: 12.45 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002651/0.5306, allocations: 90.47 kB / 0.8404 GB, free: 12.36 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.5307, allocations: 72.88 kB / 0.8405 GB, free: 12.28 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002698/0.531, allocations: 186.2 kB / 0.8407 GB, free: 12.06 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.531, allocations: 34.56 kB / 0.8407 GB, free: 12.02 MB / 0.67 GB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.531, allocations: 0 / 0.8407 GB, free: 12.02 MB / 0.67 GB Notification: Performance of matching and sorting (n=10): time 0.0006522/0.5317, allocations: 221.2 kB / 0.8409 GB, free: 11.8 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.5317, allocations: 55.41 kB / 0.841 GB, free: 11.73 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002464/0.532, allocations: 267 kB / 0.8412 GB, free: 11.47 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.532, allocations: 29.7 kB / 0.8413 GB, free: 11.43 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 9.699e-05/0.5321, allocations: 148 kB / 0.8414 GB, free: 11.29 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.5322, allocations: 43.67 kB / 0.8414 GB, free: 11.24 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.803e-05/0.5322, allocations: 33.7 kB / 0.8415 GB, free: 11.2 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.5323, allocations: 326.8 kB / 0.8418 GB, free: 10.88 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.5325, allocations: 48.81 kB / 0.8418 GB, free: 10.82 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.5327, allocations: 97.05 kB / 0.8419 GB, free: 10.71 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002581/0.5329, allocations: 123.3 kB / 0.842 GB, free: 10.58 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5329, allocations: 0 / 0.842 GB, free: 10.58 MB / 0.67 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000346/0.5333, allocations: 157.5 kB / 0.8422 GB, free: 10.42 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.5333, allocations: 4 kB / 0.8422 GB, free: 10.41 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.689e-06/0.5333, allocations: 11.92 kB / 0.8422 GB, free: 10.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.5334, allocations: 3.938 kB / 0.8422 GB, free: 10.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.5335, allocations: 23.92 kB / 0.8422 GB, free: 10.38 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.5335, allocations: 4 kB / 0.8422 GB, free: 10.37 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001734/0.5337, allocations: 19.88 kB / 0.8423 GB, free: 10.35 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.5337, allocations: 4 kB / 0.8423 GB, free: 10.35 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001961/0.5339, allocations: 148.1 kB / 0.8424 GB, free: 10.2 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001612/0.5341, allocations: 97.09 kB / 0.8425 GB, free: 10.09 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002491/0.5343, allocations: 116.2 kB / 0.8426 GB, free: 9.961 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.252e-06/0.5343, allocations: 4 kB / 0.8426 GB, free: 9.957 MB / 0.67 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003196/0.5347, allocations: 153.4 kB / 0.8428 GB, free: 9.801 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/0.5347, allocations: 9.719 kB / 0.8428 GB, free: 9.793 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-06/0.5347, allocations: 0 / 0.8428 GB, free: 9.793 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.566e-06/0.5347, allocations: 3.938 kB / 0.8428 GB, free: 9.789 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.5348, allocations: 27.92 kB / 0.8428 GB, free: 9.762 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.5348, allocations: 7.984 kB / 0.8428 GB, free: 9.754 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.535, allocations: 19.95 kB / 0.8428 GB, free: 9.734 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.535, allocations: 7.984 kB / 0.8428 GB, free: 9.727 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.44e-05/0.5351, allocations: 184.3 kB / 0.843 GB, free: 9.539 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.686e-05/0.5352, allocations: 23.86 kB / 0.843 GB, free: 9.516 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003647/0.5355, allocations: 163.2 kB / 0.8432 GB, free: 9.344 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.5356, allocations: 0 / 0.8432 GB, free: 9.344 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.5356, allocations: 0 / 0.8432 GB, free: 9.344 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.5356, allocations: 4 kB / 0.8432 GB, free: 9.34 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008456/0.5364, allocations: 0.5977 MB / 0.8438 GB, free: 8.664 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.5364, allocations: 4 kB / 0.8438 GB, free: 8.66 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.5366, allocations: 19.98 kB / 0.8438 GB, free: 8.641 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.5366, allocations: 7.984 kB / 0.8438 GB, free: 8.633 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.5366, allocations: 4 kB / 0.8438 GB, free: 8.629 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.5366, allocations: 0 / 0.8438 GB, free: 8.629 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.5366, allocations: 7.938 kB / 0.8438 GB, free: 8.621 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003618/0.537, allocations: 293.5 kB / 0.8441 GB, free: 8.297 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.5371, allocations: 120.9 kB / 0.8442 GB, free: 8.16 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/0.5371, allocations: 0 / 0.8442 GB, free: 8.16 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.5373, allocations: 15.98 kB / 0.8442 GB, free: 8.145 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.311e-05/0.5374, allocations: 11.92 kB / 0.8442 GB, free: 8.133 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.5374, allocations: 11.94 kB / 0.8442 GB, free: 8.121 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0001844/0.5376, allocations: 194 kB / 0.8444 GB, free: 7.93 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5376, allocations: 0 / 0.8444 GB, free: 7.93 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004702/0.5381, allocations: 99.81 kB / 0.8445 GB, free: 7.832 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.0009282/0.539, allocations: 0.9022 MB / 0.8454 GB, free: 6.891 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0004695/0.5395, allocations: 175.7 kB / 0.8456 GB, free: 6.719 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5395, allocations: 0 / 0.8456 GB, free: 6.719 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.5397, allocations: 55.89 kB / 0.8456 GB, free: 6.664 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000723/0.5404, allocations: 124.2 kB / 0.8457 GB, free: 6.547 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002676/0.5431, allocations: 2.358 MB / 0.8481 GB, free: 4.055 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.5434, allocations: 0.7635 MB / 0.8488 GB, free: 3.262 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001944/0.5436, allocations: 61.89 kB / 0.8489 GB, free: 3.199 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.5437, allocations: 75.34 kB / 0.8489 GB, free: 3.125 MB / 0.67 GB Notification: Performance of SimCode: time 2.41e-07/0.5437, allocations: 0 / 0.8489 GB, free: 3.125 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02241/0.5661, allocations: 6.931 MB / 0.8557 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.87/8.436, allocations: 3.984 kB / 0.8557 GB, free: 12.38 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_PressureDrop.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)