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: translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop") translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 194.7 kB / 16.53 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.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.391 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 1.016/1.016, allocations: 143 MB / 433.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 71.88 kB / 0.5141 GB, free: 11.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.185, allocations: 82.04 MB / 0.5943 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.5149/0.7, allocations: 161.5 MB / 0.752 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003234/0.7033, allocations: 1.705 MB / 0.7537 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004901/0.7038, allocations: 14.62 kB / 0.7537 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007164/0.7045, allocations: 160 kB / 0.7538 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001586/0.7062, allocations: 0.5103 MB / 0.7543 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.7077, allocations: 418.7 kB / 0.7547 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001018/0.7087, allocations: 0.5693 MB / 0.7553 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004404/0.7092, allocations: 179.7 kB / 0.7555 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008442/0.71, allocations: 318.8 kB / 0.7558 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000347/0.7104, allocations: 159.2 kB / 0.7559 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.798e-05/0.7104, allocations: 12 kB / 0.7559 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001485/0.7119, allocations: 0.6859 MB / 0.7566 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.7121, allocations: 75.78 kB / 0.7567 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001701/0.7123, allocations: 127.3 kB / 0.7568 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009916/0.7133, allocations: 0.4986 MB / 0.7573 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.7133, allocations: 1.5 kB / 0.7573 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7133, allocations: 0 / 0.7573 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.869e-06/0.7133, allocations: 0 / 0.7573 GB, free: 6.316 MB / 0.5762 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.00113/0.7144, allocations: 0.5838 MB / 0.7579 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.7145, allocations: 8.031 kB / 0.7579 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004405/0.7149, allocations: 55.59 kB / 0.7579 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004035/0.7154, allocations: 293.2 kB / 0.7582 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.7154, allocations: 8 kB / 0.7582 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/0.7154, allocations: 16 kB / 0.7582 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004291/0.7159, allocations: 200.1 kB / 0.7584 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.7159, allocations: 0 / 0.7584 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.7159, allocations: 7.938 kB / 0.7584 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.7159, allocations: 4 kB / 0.7584 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003074/0.7162, allocations: 127.8 kB / 0.7585 GB, free: 4.926 MB / 0.5762 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.001138/0.7174, allocations: 0.7814 MB / 0.7593 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003168/0.7177, allocations: 92.34 kB / 0.7594 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.7179, allocations: 73.5 kB / 0.7595 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003749/0.7183, allocations: 190.2 kB / 0.7596 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.7183, allocations: 34.56 kB / 0.7597 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.664e-06/0.7183, allocations: 0 / 0.7597 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0007159/0.719, allocations: 217.2 kB / 0.7599 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.7191, allocations: 55.41 kB / 0.7599 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003013/0.7194, allocations: 275 kB / 0.7602 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.7194, allocations: 25.7 kB / 0.7602 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.7196, allocations: 140 kB / 0.7604 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.314e-05/0.7196, allocations: 45.45 kB / 0.7604 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.391e-05/0.7197, allocations: 29.7 kB / 0.7604 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.7199, allocations: 330.8 kB / 0.7607 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.72, allocations: 52.77 kB / 0.7608 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.7202, allocations: 89.11 kB / 0.7609 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002641/0.7205, allocations: 127.3 kB / 0.761 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.7205, allocations: 0 / 0.761 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003711/0.7209, allocations: 161.3 kB / 0.7612 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.7209, allocations: 8 kB / 0.7612 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.7209, allocations: 0 / 0.7612 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.7209, allocations: 3.938 kB / 0.7612 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.7211, allocations: 28.42 kB / 0.7612 GB, free: 2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.7211, allocations: 0 / 0.7612 GB, free: 2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/0.7213, allocations: 15.92 kB / 0.7612 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/0.7213, allocations: 12.56 kB / 0.7612 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001998/0.7215, allocations: 150 kB / 0.7614 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001547/0.7217, allocations: 93.61 kB / 0.7615 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002992/0.722, allocations: 123.3 kB / 0.7616 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.232e-06/0.722, allocations: 0 / 0.7616 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003243/0.7223, allocations: 149.6 kB / 0.7617 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.355e-06/0.7223, allocations: 7.938 kB / 0.7617 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.7223, allocations: 0 / 0.7617 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.33e-06/0.7223, allocations: 7.984 kB / 0.7617 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.7225, allocations: 28.5 kB / 0.7618 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.7225, allocations: 3.938 kB / 0.7618 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/0.7227, allocations: 23.81 kB / 0.7618 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.7227, allocations: 10 kB / 0.7618 GB, free: 1.352 MB / 0.5762 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.0001067/0.7228, allocations: 184.2 kB / 0.762 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.7229, allocations: 23.72 kB / 0.762 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003815/0.7233, allocations: 163.3 kB / 0.7621 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.7233, allocations: 7.938 kB / 0.7622 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.7234, allocations: 0 / 0.7622 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.7234, allocations: 0 / 0.7622 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009532/0.7243, allocations: 0.5898 MB / 0.7627 GB, free: 304 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.686e-06/0.7243, allocations: 0 / 0.7627 GB, free: 304 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.7245, allocations: 23.98 kB / 0.7628 GB, free: 280 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.7245, allocations: 0 / 0.7628 GB, free: 280 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.7245, allocations: 8 kB / 0.7628 GB, free: 272 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.7245, allocations: 7.938 kB / 0.7628 GB, free: 264 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.7245, allocations: 224 / 0.7628 GB, free: 264 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004207/0.7249, allocations: 301.1 kB / 0.7631 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.725, allocations: 113.1 kB / 0.7632 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.636e-05/0.7251, allocations: 4 kB / 0.7632 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.7253, allocations: 16.61 kB / 0.7632 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.243e-05/0.7253, allocations: 11.92 kB / 0.7632 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.7254, allocations: 11.94 kB / 0.7632 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001869/0.7256, allocations: 201.9 kB / 0.7634 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7256, allocations: 0 / 0.7634 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004976/0.7261, allocations: 95.84 kB / 0.7635 GB, free: 15.46 MB / 0.5919 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.000357/0.7264, allocations: 159.3 kB / 0.7636 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004695/0.7269, allocations: 167.8 kB / 0.7638 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.7269, allocations: 0 / 0.7638 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.7271, allocations: 63.84 kB / 0.7639 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007573/0.7279, allocations: 119.3 kB / 0.764 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007668/0.7286, allocations: 450.4 kB / 0.7644 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.729, allocations: 0.7518 MB / 0.7651 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002478/0.7292, allocations: 70.55 kB / 0.7652 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.976e-05/0.7293, allocations: 19.44 kB / 0.7652 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of SimCode: time 3.51e-07/0.7293, allocations: 0 / 0.7652 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of Templates: time 0.00886/0.7382, allocations: 4.414 MB / 0.7695 GB, free: 9.328 MB / 0.5919 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)