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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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: 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.0009827/0.0009826, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001158/0.001158, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 223.2 MB / 239.9 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.032/1.032, allocations: 143.3 MB / 434.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000339/0.000339, allocations: 16 kB / 0.5158 GB, free: 11.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1835, allocations: 83.4 MB / 0.5973 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop): time 0.5322/0.7157, allocations: 135.6 MB / 0.7297 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003383/0.7192, allocations: 1.616 MB / 0.7313 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003222/0.7195, allocations: 9.688 kB / 0.7313 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000757/0.7203, allocations: 182.6 kB / 0.7315 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001677/0.722, allocations: 499.6 kB / 0.732 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001432/0.7234, allocations: 439.5 kB / 0.7324 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007191/0.7242, allocations: 355 kB / 0.7327 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003133/0.7245, allocations: 138.2 kB / 0.7328 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000481/0.725, allocations: 226.7 kB / 0.7331 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.7251, allocations: 102.9 kB / 0.7332 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.7252, allocations: 6.781 kB / 0.7332 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009126/0.7261, allocations: 384.3 kB / 0.7335 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.7262, allocations: 64.45 kB / 0.7336 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.629e-05/0.7263, allocations: 68.33 kB / 0.7337 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005179/0.7268, allocations: 290.9 kB / 0.7339 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.7268, allocations: 0 / 0.7339 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.108e-06/0.7269, allocations: 5.25 kB / 0.7339 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.338e-06/0.7269, allocations: 3.938 kB / 0.7339 GB, free: 13.52 MB / 0.5606 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.0007671/0.7276, allocations: 0.523 MB / 0.7345 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.7277, allocations: 10.27 kB / 0.7345 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003688/0.7281, allocations: 58.23 kB / 0.7345 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003964/0.7285, allocations: 278.9 kB / 0.7348 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.7285, allocations: 18.23 kB / 0.7348 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.236e-05/0.7286, allocations: 15.2 kB / 0.7348 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003984/0.729, allocations: 193 kB / 0.735 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.729, allocations: 1.875 kB / 0.735 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.729, allocations: 9.312 kB / 0.735 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.729, allocations: 2.75 kB / 0.735 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003163/0.7293, allocations: 147.6 kB / 0.7352 GB, free: 12.63 MB / 0.5606 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.001097/0.7304, allocations: 0.7842 MB / 0.7359 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/0.7307, allocations: 95.22 kB / 0.736 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.886e-05/0.7308, allocations: 10 kB / 0.736 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.7308, allocations: 32.44 kB / 0.7361 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.7308, allocations: 1.375 kB / 0.7361 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.000711/0.7315, allocations: 229.5 kB / 0.7363 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.7316, allocations: 60.88 kB / 0.7363 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002874/0.7319, allocations: 269.2 kB / 0.7366 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.7319, allocations: 27.08 kB / 0.7366 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.732, allocations: 144.5 kB / 0.7368 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.144e-05/0.7321, allocations: 38.72 kB / 0.7368 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.228e-05/0.7321, allocations: 4 kB / 0.7368 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.7323, allocations: 332.5 kB / 0.7371 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.7324, allocations: 48.77 kB / 0.7372 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.7326, allocations: 93.77 kB / 0.7372 GB, free: 11 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.7327, allocations: 58.41 kB / 0.7373 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.7328, allocations: 3.953 kB / 0.7373 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003364/0.7331, allocations: 159.6 kB / 0.7375 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001402/0.7333, allocations: 369.6 kB / 0.7378 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.7333, allocations: 0 / 0.7378 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.7333, allocations: 0 / 0.7378 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.7334, allocations: 30.53 kB / 0.7378 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.7334, allocations: 8.5 kB / 0.7379 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.7336, allocations: 25.39 kB / 0.7379 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.7337, allocations: 8.875 kB / 0.7379 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.104e-06/0.7337, allocations: 4 kB / 0.7379 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002728/0.7339, allocations: 117.5 kB / 0.738 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-06/0.734, allocations: 3.938 kB / 0.738 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.386e-06/0.734, allocations: 4 kB / 0.738 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.7341, allocations: 19.89 kB / 0.738 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.7341, allocations: 8.641 kB / 0.738 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/0.7343, allocations: 28.61 kB / 0.7381 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.7343, allocations: 8.703 kB / 0.7381 GB, free: 10.2 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001582/0.7345, allocations: 217.6 kB / 0.7383 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.337e-05/0.7345, allocations: 23.72 kB / 0.7383 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003843/0.7349, allocations: 171.3 kB / 0.7385 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.7349, allocations: 4 kB / 0.7385 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.7349, allocations: 0.5156 kB / 0.7385 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.7349, allocations: 0.5625 kB / 0.7385 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009095/0.7358, allocations: 0.5957 MB / 0.7391 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.7359, allocations: 4.594 kB / 0.7391 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.736, allocations: 32.62 kB / 0.7391 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.736, allocations: 4.688 kB / 0.7391 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.736, allocations: 7.953 kB / 0.7391 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-06/0.736, allocations: 4.516 kB / 0.7391 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.736, allocations: 0 / 0.7391 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004194/0.7364, allocations: 384.1 kB / 0.7395 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.7366, allocations: 114.8 kB / 0.7396 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.752e-05/0.7366, allocations: 11.83 kB / 0.7396 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.7368, allocations: 24.39 kB / 0.7396 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.035e-05/0.7369, allocations: 7.234 kB / 0.7396 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.7369, allocations: 4.188 kB / 0.7396 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002018/0.7371, allocations: 196.7 kB / 0.7398 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7371, allocations: 7.938 kB / 0.7398 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005059/0.7376, allocations: 96.64 kB / 0.7399 GB, free: 8.297 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004032/0.738, allocations: 163.5 kB / 0.7401 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000483/0.7385, allocations: 183.2 kB / 0.7402 GB, free: 8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.7386, allocations: 0 / 0.7402 GB, free: 8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.7387, allocations: 66.77 kB / 0.7403 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007828/0.7395, allocations: 135.8 kB / 0.7404 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007179/0.7402, allocations: 0.4914 MB / 0.7409 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.7406, allocations: 0.7638 MB / 0.7417 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002292/0.7408, allocations: 75.42 kB / 0.7417 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.084e-05/0.7409, allocations: 19.44 kB / 0.7418 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of SimCode: time 1.158e-05/0.7409, allocations: 0 / 0.7418 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of Templates: time 0.008574/0.7495, allocations: 4.14 MB / 0.7458 GB, free: 3.613 MB / 0.5606 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PressureDrop.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: