Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe",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.001069/0.00107, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001103/0.001103, allocations: 168.7 kB / 15.95 MB, free: 204 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.563/1.563, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.305/1.305, allocations: 143.4 MB / 434.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003856/0.0003857, allocations: 8 kB / 0.5161 GB, free: 11.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.229, allocations: 83.42 MB / 0.5975 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.6132/0.8423, allocations: 106.4 MB / 0.7014 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.04885/0.8913, allocations: 24.93 MB / 0.7258 GB, free: 3.406 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006643/0.898, allocations: 100.5 kB / 0.7258 GB, free: 3.367 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004217/0.9022, allocations: 0.7867 MB / 0.7266 GB, free: 2.918 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01265/0.9149, allocations: 2.733 MB / 0.7293 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.007749/0.9227, allocations: 1.673 MB / 0.7309 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01238/0.9351, allocations: 7.018 MB / 0.7378 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003253/0.9384, allocations: 1.417 MB / 0.7392 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006461/0.9448, allocations: 2.121 MB / 0.7412 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0054/0.9503, allocations: 1.61 MB / 0.7428 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0008519/0.9512, allocations: 92 kB / 0.7429 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00706/0.9582, allocations: 1.567 MB / 0.7444 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006963/0.9589, allocations: 394.1 kB / 0.7448 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00128/0.9602, allocations: 480.6 kB / 0.7453 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004656/0.9649, allocations: 3.039 MB / 0.7482 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.9649, allocations: 4 kB / 0.7482 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.034e-06/0.9649, allocations: 0 / 0.7482 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.851e-05/0.965, allocations: 0 / 0.7482 GB, free: 1.766 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: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.005013/0.97, allocations: 2.449 MB / 0.7506 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.9701, allocations: 8.031 kB / 0.7506 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002865/0.9703, allocations: 202.6 kB / 0.7508 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000573/0.9709, allocations: 261 kB / 0.7511 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003955/0.9749, allocations: 2.038 MB / 0.7531 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.8e-05/0.975, allocations: 105.9 kB / 0.7532 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001858/0.9752, allocations: 140 kB / 0.7533 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002494/0.9777, allocations: 1.454 MB / 0.7547 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.924e-05/0.9777, allocations: 3.906 kB / 0.7547 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/0.9779, allocations: 60 kB / 0.7548 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-05/0.9779, allocations: 39.94 kB / 0.7548 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001835/0.9798, allocations: 1.025 MB / 0.7558 GB, free: 9.797 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.008921/0.9887, allocations: 8.148 MB / 0.7638 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/0.9902, allocations: 0.8456 MB / 0.7646 GB, free: 80 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006214/0.9908, allocations: 385 kB / 0.765 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002196/0.993, allocations: 2.799 MB / 0.7677 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.9931, allocations: 51.16 kB / 0.7677 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 3.587e-06/0.9931, allocations: 0 / 0.7677 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.002178/0.9953, allocations: 1.14 MB / 0.7689 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.9953, allocations: 60.06 kB / 0.7689 GB, free: 11 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002073/0.9974, allocations: 1.586 MB / 0.7705 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.158e-05/0.9975, allocations: 46.47 kB / 0.7705 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007583/0.9983, allocations: 0.9199 MB / 0.7714 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003/0.9986, allocations: 315.5 kB / 0.7717 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.838e-05/0.9986, allocations: 20 kB / 0.7717 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.9988, allocations: 357.9 kB / 0.7721 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005477/0.9993, allocations: 314.5 kB / 0.7724 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000859/1, allocations: 0.7033 MB / 0.7731 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007323/1.001, allocations: 450.6 kB / 0.7735 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/1.001, allocations: 7.953 kB / 0.7735 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002038/1.003, allocations: 1.245 MB / 0.7747 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003044/1.003, allocations: 432.9 kB / 0.7751 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-05/1.003, allocations: 20 kB / 0.7751 GB, free: 4.215 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.208e-05/1.003, allocations: 23.98 kB / 0.7752 GB, free: 4.191 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007948/1.004, allocations: 263.5 kB / 0.7754 GB, free: 3.934 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.554e-05/1.004, allocations: 19.94 kB / 0.7754 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/1.006, allocations: 186.6 kB / 0.7756 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/1.006, allocations: 63.98 kB / 0.7757 GB, free: 3.668 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/1.006, allocations: 9.391 kB / 0.7757 GB, free: 3.66 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001736/1.007, allocations: 1.046 MB / 0.7767 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.839e-05/1.007, allocations: 23.94 kB / 0.7767 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/1.007, allocations: 20 kB / 0.7767 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007756/1.008, allocations: 264.3 kB / 0.777 GB, free: 2.316 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.287e-05/1.008, allocations: 23.88 kB / 0.777 GB, free: 2.293 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000972/1.009, allocations: 166.9 kB / 0.7772 GB, free: 2.129 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/1.009, allocations: 68.52 kB / 0.7772 GB, free: 2.062 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (140): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0007544/1.01, allocations: 468.7 kB / 0.7777 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000251/1.01, allocations: 193.6 kB / 0.7779 GB, free: 1.402 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002997/1.013, allocations: 1.764 MB / 0.7796 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.202e-05/1.013, allocations: 19.98 kB / 0.7796 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/1.013, allocations: 4 kB / 0.7796 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001707/1.015, allocations: 1.146 MB / 0.7807 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005075/1.02, allocations: 3.494 MB / 0.7842 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.576e-05/1.02, allocations: 8 kB / 0.7842 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007028/1.021, allocations: 203.6 kB / 0.7844 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.431e-05/1.021, allocations: 12.44 kB / 0.7844 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.169e-05/1.021, allocations: 47.98 kB / 0.7844 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.537e-05/1.021, allocations: 15.98 kB / 0.7844 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.118e-05/1.021, allocations: 11.94 kB / 0.7844 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003145/1.024, allocations: 2.23 MB / 0.7866 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007341/1.025, allocations: 481.9 kB / 0.7871 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002106/1.025, allocations: 39.94 kB / 0.7871 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008815/1.026, allocations: 91.83 kB / 0.7872 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001813/1.026, allocations: 116.7 kB / 0.7873 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/1.026, allocations: 63.97 kB / 0.7874 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001482/1.028, allocations: 1.064 MB / 0.7884 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.21e-07/1.028, allocations: 0 / 0.7884 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00321/1.031, allocations: 1.119 MB / 0.7895 GB, free: 5.168 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 6 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,pipNoMix.del.x,pipNoMix.timDel.x) * 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 (129): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 27 * 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.005023/1.036, allocations: 3.449 MB / 0.7929 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003048/1.039, allocations: 1.796 MB / 0.7946 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/1.039, allocations: 7.938 kB / 0.7946 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001127/1.04, allocations: 0.8269 MB / 0.7954 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004264/1.045, allocations: 0.9283 MB / 0.7963 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02163/1.066, allocations: 11.47 MB / 0.8075 GB, free: 1.566 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00108/1.067, allocations: 1.432 MB / 0.8089 GB, free: 100 kB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002311/1.07, allocations: 0.5416 MB / 0.8095 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/1.071, allocations: 0.8546 MB / 0.8103 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of SimCode: time 9.72e-07/1.071, allocations: 0 / 0.8103 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4867/1.558, allocations: 59.38 MB / 0.8683 GB, free: 196.2 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000192/1.558, allocations: 241.2 kB / 0.8685 GB, free: 195.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.171/5.729, allocations: 0 / 0.8685 GB, free: 195.9 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1) Environment - environmentSimulation: