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.008767/0.008767, allocations: 102.6 kB / 15.73 MB, free: 5.902 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.001833/0.001833, allocations: 186.4 kB / 16.67 MB, free: 5.824 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 4.125 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.9817/0.9817, allocations: 143 MB / 433.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 55.91 kB / 0.595 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4207/0.4222, allocations: 82.02 MB / 0.6751 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.1694/0.5916, allocations: 161.6 MB / 0.8329 GB, free: 4.297 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003186/0.5948, allocations: 1.706 MB / 0.8346 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004795/0.5953, allocations: 11.94 kB / 0.8346 GB, free: 2.574 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000666/0.596, allocations: 166.9 kB / 0.8347 GB, free: 2.41 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001411/0.5975, allocations: 0.5056 MB / 0.8352 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.5987, allocations: 434.3 kB / 0.8357 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0008507/0.5996, allocations: 0.5654 MB / 0.8362 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003526/0.6, allocations: 176.5 kB / 0.8364 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006976/0.6007, allocations: 322.8 kB / 0.8367 GB, free: 440 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002557/0.6009, allocations: 147.3 kB / 0.8368 GB, free: 292 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.792e-05/0.601, allocations: 15.94 kB / 0.8368 GB, free: 276 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/0.6023, allocations: 0.6976 MB / 0.8375 GB, free: 15.57 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.6024, allocations: 75.78 kB / 0.8376 GB, free: 15.5 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.6025, allocations: 119.3 kB / 0.8377 GB, free: 15.38 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0009337/0.6035, allocations: 0.518 MB / 0.8382 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.6035, allocations: 0 / 0.8382 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6035, allocations: 0 / 0.8382 GB, free: 14.86 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.6035, allocations: 0 / 0.8382 GB, free: 14.86 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.0009254/0.6045, allocations: 0.5838 MB / 0.8388 GB, free: 14.23 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.6045, allocations: 8.031 kB / 0.8388 GB, free: 14.22 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.396e-05/0.6046, allocations: 46.55 kB / 0.8388 GB, free: 14.16 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003525/0.6049, allocations: 55.69 kB / 0.8389 GB, free: 14.11 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004967/0.6054, allocations: 309.2 kB / 0.8392 GB, free: 13.77 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.6055, allocations: 8 kB / 0.8392 GB, free: 13.76 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.6055, allocations: 16 kB / 0.8392 GB, free: 13.74 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000404/0.6059, allocations: 196.1 kB / 0.8394 GB, free: 13.54 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.6059, allocations: 3.984 kB / 0.8394 GB, free: 13.53 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.606, allocations: 4 kB / 0.8394 GB, free: 13.53 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-06/0.606, allocations: 4 kB / 0.8394 GB, free: 13.52 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003038/0.6063, allocations: 127.8 kB / 0.8395 GB, free: 13.4 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.001102/0.6074, allocations: 0.7853 MB / 0.8403 GB, free: 12.54 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002489/0.6077, allocations: 82.59 kB / 0.8404 GB, free: 12.45 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.6078, allocations: 80.8 kB / 0.8404 GB, free: 12.37 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000284/0.6081, allocations: 182.2 kB / 0.8406 GB, free: 12.16 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.6082, allocations: 34.55 kB / 0.8407 GB, free: 12.11 MB / 0.67 GB Notification: Performance of pre-optimization done (n=10): time 1.834e-06/0.6082, allocations: 4 kB / 0.8407 GB, free: 12.11 MB / 0.67 GB Notification: Performance of matching and sorting (n=10): time 0.0006852/0.6089, allocations: 225.1 kB / 0.8409 GB, free: 11.88 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.6089, allocations: 51.41 kB / 0.8409 GB, free: 11.82 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002596/0.6092, allocations: 271 kB / 0.8412 GB, free: 11.55 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.6092, allocations: 29.7 kB / 0.8412 GB, free: 11.52 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 9.964e-05/0.6093, allocations: 144 kB / 0.8413 GB, free: 11.38 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.969e-05/0.6094, allocations: 35.45 kB / 0.8414 GB, free: 11.34 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.98e-05/0.6094, allocations: 29.72 kB / 0.8414 GB, free: 11.3 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.6096, allocations: 334.8 kB / 0.8417 GB, free: 10.97 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.6097, allocations: 48.81 kB / 0.8418 GB, free: 10.92 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.6099, allocations: 93.11 kB / 0.8419 GB, free: 10.81 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/0.6102, allocations: 119.3 kB / 0.842 GB, free: 10.68 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.6102, allocations: 3.984 kB / 0.842 GB, free: 10.68 MB / 0.67 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003593/0.6106, allocations: 153.3 kB / 0.8421 GB, free: 10.52 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.6106, allocations: 9.906 kB / 0.8421 GB, free: 10.51 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.6106, allocations: 11.88 kB / 0.8421 GB, free: 10.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.6106, allocations: 3.938 kB / 0.8421 GB, free: 10.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.6108, allocations: 19.98 kB / 0.8422 GB, free: 10.48 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/0.6108, allocations: 7.984 kB / 0.8422 GB, free: 10.47 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.611, allocations: 11.98 kB / 0.8422 GB, free: 10.46 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.611, allocations: 8 kB / 0.8422 GB, free: 10.45 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000196/0.6112, allocations: 140.1 kB / 0.8423 GB, free: 10.31 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001637/0.6114, allocations: 97.11 kB / 0.8424 GB, free: 10.2 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002346/0.6116, allocations: 120.2 kB / 0.8425 GB, free: 10.07 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.573e-06/0.6116, allocations: 0 / 0.8425 GB, free: 10.07 MB / 0.67 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003273/0.612, allocations: 165.2 kB / 0.8427 GB, free: 9.898 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.358e-06/0.612, allocations: 4 kB / 0.8427 GB, free: 9.895 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-06/0.612, allocations: 4 kB / 0.8427 GB, free: 9.891 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.242e-06/0.612, allocations: 3.938 kB / 0.8427 GB, free: 9.887 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.6121, allocations: 19.98 kB / 0.8427 GB, free: 9.867 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.6121, allocations: 4 kB / 0.8427 GB, free: 9.863 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.6123, allocations: 19.86 kB / 0.8427 GB, free: 9.844 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/0.6123, allocations: 8.031 kB / 0.8428 GB, free: 9.836 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.0001391/0.6125, allocations: 188.2 kB / 0.8429 GB, free: 9.645 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.645e-05/0.6125, allocations: 27.7 kB / 0.843 GB, free: 9.617 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004055/0.613, allocations: 159.2 kB / 0.8431 GB, free: 9.449 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.613, allocations: 4.109 kB / 0.8431 GB, free: 9.445 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.613, allocations: 4 kB / 0.8431 GB, free: 9.441 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.613, allocations: 0 / 0.8431 GB, free: 9.441 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009933/0.614, allocations: 0.5938 MB / 0.8437 GB, free: 8.77 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.614, allocations: 4 kB / 0.8437 GB, free: 8.766 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.6141, allocations: 23.92 kB / 0.8437 GB, free: 8.742 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.6141, allocations: 4 kB / 0.8437 GB, free: 8.738 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.6142, allocations: 4 kB / 0.8437 GB, free: 8.734 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.6142, allocations: 7.969 kB / 0.8437 GB, free: 8.727 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.6142, allocations: 4 kB / 0.8437 GB, free: 8.723 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003889/0.6146, allocations: 293.2 kB / 0.844 GB, free: 8.398 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.6147, allocations: 116.7 kB / 0.8441 GB, free: 8.266 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.383e-05/0.6147, allocations: 8 kB / 0.8441 GB, free: 8.258 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.6149, allocations: 15.98 kB / 0.8442 GB, free: 8.242 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.809e-05/0.615, allocations: 16.05 kB / 0.8442 GB, free: 8.227 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.615, allocations: 11.94 kB / 0.8442 GB, free: 8.215 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0001923/0.6152, allocations: 194 kB / 0.8444 GB, free: 8.023 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6152, allocations: 0 / 0.8444 GB, free: 8.023 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004734/0.6157, allocations: 95.84 kB / 0.8445 GB, free: 7.93 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.000927/0.6166, allocations: 0.9055 MB / 0.8453 GB, free: 6.984 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0004344/0.6171, allocations: 167.8 kB / 0.8455 GB, free: 6.82 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.6171, allocations: 0 / 0.8455 GB, free: 6.82 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.6172, allocations: 59.89 kB / 0.8456 GB, free: 6.762 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007086/0.618, allocations: 111.3 kB / 0.8457 GB, free: 6.656 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003001/0.621, allocations: 2.35 MB / 0.848 GB, free: 4.172 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.6213, allocations: 0.7597 MB / 0.8487 GB, free: 3.383 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002021/0.6215, allocations: 65.88 kB / 0.8488 GB, free: 3.316 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.6216, allocations: 79.3 kB / 0.8488 GB, free: 3.238 MB / 0.67 GB Notification: Performance of SimCode: time 3.31e-07/0.6217, allocations: 0 / 0.8488 GB, free: 3.238 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02497/0.6466, allocations: 7.029 MB / 0.8557 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.745/8.392, allocations: 9.828 kB / 0.8557 GB, free: 12.39 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)