Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="Buildings_8_Buildings_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.001108/0.001108, allocations: 109.4 kB / 15.69 MB, free: 128 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.001216/0.001216, allocations: 190 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.467/1.467, allocations: 205.1 MB / 222.5 MB, free: 4.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.728/1.728, allocations: 292.3 MB / 0.549 GB, free: 12.74 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002283/0.002283, allocations: 68.98 kB / 0.6718 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2363, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.04256/0.2789, allocations: 44.69 MB / 0.8273 GB, free: 424 kB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01684/0.2958, allocations: 13.01 MB / 0.84 GB, free: 3.363 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001842/0.2976, allocations: 39.81 kB / 0.84 GB, free: 3.324 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001916/0.2996, allocations: 0.5938 MB / 0.8406 GB, free: 2.727 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005703/0.3054, allocations: 1.97 MB / 0.8425 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003866/0.3092, allocations: 1.334 MB / 0.8438 GB, free: 15.42 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004412/0.3137, allocations: 3.272 MB / 0.847 GB, free: 12.14 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001491/0.3152, allocations: 1.063 MB / 0.848 GB, free: 11.05 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003195/0.3184, allocations: 1.368 MB / 0.8494 GB, free: 9.684 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001692/0.3201, allocations: 0.9492 MB / 0.8503 GB, free: 8.73 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002232/0.3203, allocations: 132 kB / 0.8504 GB, free: 8.602 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003171/0.3235, allocations: 1.564 MB / 0.852 GB, free: 7.035 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002973/0.3238, allocations: 307 kB / 0.8522 GB, free: 6.734 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0008838/0.3247, allocations: 0.6882 MB / 0.8529 GB, free: 6.043 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003947/0.3287, allocations: 2.462 MB / 0.8553 GB, free: 3.574 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3287, allocations: 0 / 0.8553 GB, free: 3.574 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3287, allocations: 0 / 0.8553 GB, free: 3.574 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.243e-05/0.3287, allocations: 0 / 0.8553 GB, free: 3.574 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003635/0.3324, allocations: 1.666 MB / 0.857 GB, free: 1.855 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.739e-05/0.3324, allocations: 19.97 kB / 0.857 GB, free: 1.836 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001536/0.3326, allocations: 114.7 kB / 0.8571 GB, free: 1.715 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004559/0.3331, allocations: 135.2 kB / 0.8572 GB, free: 1.582 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002545/0.3356, allocations: 1.221 MB / 0.8584 GB, free: 324 kB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.821e-05/0.3357, allocations: 50 kB / 0.8584 GB, free: 272 kB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.3358, allocations: 72 kB / 0.8585 GB, free: 200 kB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/0.3371, allocations: 0.7637 MB / 0.8593 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.721e-05/0.3372, allocations: 4 kB / 0.8593 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.825e-05/0.3373, allocations: 28 kB / 0.8593 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.136e-05/0.3373, allocations: 16 kB / 0.8593 GB, free: 15.37 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/0.3384, allocations: 0.5633 MB / 0.8599 GB, free: 14.8 MB / 0.6856 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.005222/0.3436, allocations: 3.998 MB / 0.8638 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009635/0.3446, allocations: 470.2 kB / 0.8642 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003492/0.345, allocations: 217.1 kB / 0.8644 GB, free: 9.805 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001215/0.3462, allocations: 1.511 MB / 0.8659 GB, free: 7.961 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.3462, allocations: 42.91 kB / 0.8659 GB, free: 7.91 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=46): time 2.715e-06/0.3462, allocations: 0 / 0.8659 GB, free: 7.91 MB / 0.6856 GB Notification: Performance of matching and sorting (n=46): time 0.001438/0.3477, allocations: 0.6703 MB / 0.8666 GB, free: 7.234 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.3477, allocations: 55.41 kB / 0.8666 GB, free: 7.168 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/0.3491, allocations: 1.01 MB / 0.8676 GB, free: 6.141 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.001e-05/0.3492, allocations: 37.7 kB / 0.8677 GB, free: 6.098 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004115/0.3496, allocations: 476.6 kB / 0.8681 GB, free: 5.625 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.3497, allocations: 169.5 kB / 0.8683 GB, free: 5.457 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001847/0.3499, allocations: 122.1 kB / 0.8684 GB, free: 5.332 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.3501, allocations: 330 kB / 0.8687 GB, free: 5.004 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003602/0.3504, allocations: 190.9 kB / 0.8689 GB, free: 4.812 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004658/0.3509, allocations: 320.5 kB / 0.8692 GB, free: 4.445 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008226/0.3517, allocations: 0.5152 MB / 0.8697 GB, free: 3.887 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.3517, allocations: 0 / 0.8697 GB, free: 3.887 MB / 0.6856 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001245/0.353, allocations: 0.6391 MB / 0.8703 GB, free: 3.242 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.353, allocations: 15.92 kB / 0.8703 GB, free: 3.227 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.183e-05/0.3531, allocations: 8 kB / 0.8704 GB, free: 3.219 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.3531, allocations: 8 kB / 0.8704 GB, free: 3.211 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004428/0.3535, allocations: 119.8 kB / 0.8705 GB, free: 3.094 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.3535, allocations: 8.422 kB / 0.8705 GB, free: 3.086 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005876/0.3541, allocations: 79.17 kB / 0.8706 GB, free: 3.008 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.948e-05/0.3542, allocations: 31.98 kB / 0.8706 GB, free: 2.977 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000613/0.3548, allocations: 393.1 kB / 0.871 GB, free: 2.59 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004401/0.3553, allocations: 324.5 kB / 0.8713 GB, free: 2.223 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007758/0.3561, allocations: 0.5071 MB / 0.8718 GB, free: 1.668 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.846e-06/0.3561, allocations: 0 / 0.8718 GB, free: 1.668 MB / 0.6856 GB Notification: Performance of matching and sorting (n=68) (initialization_lambda0): time 0.001176/0.3573, allocations: 0.6469 MB / 0.8724 GB, free: 1.012 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.3573, allocations: 8 kB / 0.8724 GB, free: 1.004 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.3573, allocations: 4 kB / 0.8724 GB, free: 1 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.3573, allocations: 11.94 kB / 0.8724 GB, free: 0.9883 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000416/0.3578, allocations: 123.8 kB / 0.8725 GB, free: 0.8672 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.3578, allocations: 12.34 kB / 0.8726 GB, free: 0.8555 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005443/0.3583, allocations: 51.58 kB / 0.8726 GB, free: 0.8047 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-05/0.3584, allocations: 27.98 kB / 0.8726 GB, free: 0.7773 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002384/0.3586, allocations: 216.1 kB / 0.8728 GB, free: 0.5586 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/0.3588, allocations: 106.6 kB / 0.8729 GB, free: 464 kB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001876/0.3607, allocations: 0.9721 MB / 0.8739 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.431e-05/0.3607, allocations: 15.98 kB / 0.8739 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3608, allocations: 0 / 0.8739 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001079/0.3618, allocations: 0.8376 MB / 0.8747 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003045/0.3649, allocations: 2.004 MB / 0.8767 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.61e-05/0.3649, allocations: 4 kB / 0.8767 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003924/0.3653, allocations: 108 kB / 0.8768 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.425e-06/0.3654, allocations: 7.938 kB / 0.8768 GB, free: 12.33 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.256e-05/0.3654, allocations: 19.98 kB / 0.8768 GB, free: 12.31 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.604e-05/0.3654, allocations: 4 kB / 0.8768 GB, free: 12.31 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.3654, allocations: 4 kB / 0.8768 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001767/0.3672, allocations: 1.198 MB / 0.878 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003848/0.3676, allocations: 287.4 kB / 0.8783 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001372/0.3677, allocations: 12 kB / 0.8783 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00052/0.3683, allocations: 35.92 kB / 0.8783 GB, free: 10.72 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.3684, allocations: 52.42 kB / 0.8784 GB, free: 10.67 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.866e-05/0.3685, allocations: 27.98 kB / 0.8784 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0009771/0.3694, allocations: 0.7265 MB / 0.8791 GB, free: 9.906 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3694, allocations: 0 / 0.8791 GB, free: 9.906 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001514/0.371, allocations: 0.6124 MB / 0.8797 GB, free: 9.293 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (pip.cor.del.x,pip.cor.timDel.x,pip.vol.dynBal.U,senTemOut.T,senTemIn.T) * 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 (62): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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.002818/0.3738, allocations: 2.173 MB / 0.8818 GB, free: 7.09 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00156/0.3754, allocations: 0.9312 MB / 0.8827 GB, free: 6.125 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3754, allocations: 8 kB / 0.8827 GB, free: 6.117 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0005606/0.3759, allocations: 402.4 kB / 0.8831 GB, free: 5.715 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002554/0.3785, allocations: 0.5985 MB / 0.8837 GB, free: 5.121 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/0.39, allocations: 8.023 MB / 0.8915 GB, free: 12.83 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006586/0.3907, allocations: 1.05 MB / 0.8926 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001115/0.3919, allocations: 296.8 kB / 0.8928 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005958/0.3925, allocations: 439.2 kB / 0.8933 GB, free: 11.03 MB / 0.7169 GB Notification: Performance of SimCode: time 1.183e-06/0.3925, allocations: 4 kB / 0.8933 GB, free: 11.03 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.477/0.8695, allocations: 36.92 MB / 0.9293 GB, free: 134.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.84/10.71, allocations: 8.656 kB / 0.9293 GB, free: 134.1 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)