Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.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.Validation.PlugFlowPipes.FlowReversal,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal",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.0007705/0.0007706, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008354/0.0008354, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.705/1.705, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.771/1.771, allocations: 292.7 MB / 0.5499 GB, free: 14.52 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.000529/0.0005291, allocations: 16.31 kB / 0.6738 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.272, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.04285/0.3149, allocations: 41.17 MB / 0.8276 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01671/0.3317, allocations: 12.14 MB / 0.8395 GB, free: 6.371 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002016/0.3338, allocations: 43.75 kB / 0.8395 GB, free: 6.328 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001753/0.3355, allocations: 409.3 kB / 0.8399 GB, free: 5.926 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005656/0.3412, allocations: 1.535 MB / 0.8414 GB, free: 4.383 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003928/0.3452, allocations: 0.9425 MB / 0.8423 GB, free: 3.445 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005754/0.3509, allocations: 3.621 MB / 0.8459 GB, free: 15.81 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002021/0.353, allocations: 0.7306 MB / 0.8466 GB, free: 15.07 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003076/0.3561, allocations: 1.062 MB / 0.8476 GB, free: 14 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001934/0.358, allocations: 0.8322 MB / 0.8484 GB, free: 13.17 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003695/0.3584, allocations: 44 kB / 0.8485 GB, free: 13.12 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003468/0.3619, allocations: 1.127 MB / 0.8496 GB, free: 12 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004665/0.3624, allocations: 195 kB / 0.8497 GB, free: 11.8 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0007296/0.3631, allocations: 273.1 kB / 0.85 GB, free: 11.53 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003188/0.3663, allocations: 1.722 MB / 0.8517 GB, free: 9.809 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.3664, allocations: 0 / 0.8517 GB, free: 9.809 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3664, allocations: 0 / 0.8517 GB, free: 9.809 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.079e-05/0.3665, allocations: 0 / 0.8517 GB, free: 9.809 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.003964/0.3704, allocations: 1.428 MB / 0.8531 GB, free: 8.328 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.3705, allocations: 12.03 kB / 0.8531 GB, free: 8.316 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002889/0.3708, allocations: 114.5 kB / 0.8532 GB, free: 8.195 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005581/0.3714, allocations: 134.5 kB / 0.8533 GB, free: 8.062 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003365/0.3747, allocations: 1.159 MB / 0.8545 GB, free: 6.855 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.854e-05/0.3748, allocations: 53.31 kB / 0.8545 GB, free: 6.805 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001836/0.375, allocations: 68 kB / 0.8546 GB, free: 6.738 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001633/0.3767, allocations: 0.7513 MB / 0.8553 GB, free: 5.953 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.923e-05/0.3767, allocations: 7.938 kB / 0.8553 GB, free: 5.945 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.094e-05/0.3768, allocations: 24 kB / 0.8553 GB, free: 5.922 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.195e-05/0.3768, allocations: 24 kB / 0.8554 GB, free: 5.898 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.3779, allocations: 0.5204 MB / 0.8559 GB, free: 5.379 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.005894/0.3838, allocations: 4.535 MB / 0.8603 GB, free: 452 kB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007191/0.3846, allocations: 366.7 kB / 0.8607 GB, free: 76 kB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003575/0.3849, allocations: 204.8 kB / 0.8608 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001406/0.3864, allocations: 1.519 MB / 0.8623 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.3864, allocations: 42.5 kB / 0.8624 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=43): time 2.745e-06/0.3864, allocations: 0 / 0.8624 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of matching and sorting (n=43): time 0.002368/0.3888, allocations: 0.889 MB / 0.8632 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.034e-05/0.3889, allocations: 55.41 kB / 0.8633 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00166/0.3906, allocations: 0.887 MB / 0.8642 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.996e-05/0.3906, allocations: 33.7 kB / 0.8642 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004303/0.3911, allocations: 487.8 kB / 0.8647 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001778/0.3913, allocations: 153.8 kB / 0.8648 GB, free: 11.4 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/0.3913, allocations: 12 kB / 0.8648 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.3914, allocations: 329.9 kB / 0.8651 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003358/0.3918, allocations: 169 kB / 0.8653 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004194/0.3922, allocations: 331 kB / 0.8656 GB, free: 10.51 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004021/0.3926, allocations: 232.6 kB / 0.8658 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.3926, allocations: 0 / 0.8658 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001608/0.3942, allocations: 0.7136 MB / 0.8665 GB, free: 9.566 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001794/0.3944, allocations: 216.3 kB / 0.8667 GB, free: 9.301 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.107e-05/0.3945, allocations: 12 kB / 0.8667 GB, free: 9.289 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006041/0.3951, allocations: 116.7 kB / 0.8669 GB, free: 9.172 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003915/0.3955, allocations: 119.8 kB / 0.867 GB, free: 9.055 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000535/0.396, allocations: 0.6148 MB / 0.8676 GB, free: 8.414 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008356/0.3969, allocations: 95.44 kB / 0.8677 GB, free: 8.32 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.858e-05/0.397, allocations: 28 kB / 0.8677 GB, free: 8.293 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.397, allocations: 3.953 kB / 0.8677 GB, free: 8.289 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001236/0.3982, allocations: 0.6132 MB / 0.8683 GB, free: 7.668 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/0.3983, allocations: 8 kB / 0.8683 GB, free: 7.66 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004557/0.3987, allocations: 113.1 kB / 0.8684 GB, free: 7.547 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003663/0.3991, allocations: 119.8 kB / 0.8685 GB, free: 7.43 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004735/0.3996, allocations: 0.6225 MB / 0.8691 GB, free: 6.781 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008093/0.4004, allocations: 83.55 kB / 0.8692 GB, free: 6.699 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.561e-05/0.4005, allocations: 35.98 kB / 0.8692 GB, free: 6.664 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (59): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0005725/0.4011, allocations: 341 kB / 0.8696 GB, free: 6.32 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002495/0.4013, allocations: 90.88 kB / 0.8697 GB, free: 6.23 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002053/0.4034, allocations: 1.025 MB / 0.8707 GB, free: 5.219 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-05/0.4034, allocations: 8 kB / 0.8707 GB, free: 5.211 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.4035, allocations: 3.984 kB / 0.8707 GB, free: 5.207 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00135/0.4048, allocations: 0.9164 MB / 0.8716 GB, free: 4.223 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003675/0.4085, allocations: 1.947 MB / 0.8735 GB, free: 2.203 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-05/0.4085, allocations: 4 kB / 0.8735 GB, free: 2.199 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000356/0.4089, allocations: 91.98 kB / 0.8736 GB, free: 2.109 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003231/0.4092, allocations: 80.8 kB / 0.8736 GB, free: 2.027 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.843e-05/0.4093, allocations: 23.92 kB / 0.8737 GB, free: 2.004 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004612/0.4098, allocations: 0.6187 MB / 0.8743 GB, free: 1.359 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.4098, allocations: 32 / 0.8743 GB, free: 1.359 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00203/0.4118, allocations: 1.274 MB / 0.8755 GB, free: 56 kB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007009/0.4125, allocations: 295.5 kB / 0.8758 GB, free: 15.75 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002612/0.4128, allocations: 12 kB / 0.8758 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007312/0.4135, allocations: 59.86 kB / 0.8759 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.4137, allocations: 48.48 kB / 0.8759 GB, free: 15.63 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.09e-05/0.4137, allocations: 23.98 kB / 0.8759 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001131/0.4149, allocations: 0.6137 MB / 0.8765 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4149, allocations: 0 / 0.8765 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002102/0.417, allocations: 0.612 MB / 0.8771 GB, free: 14.37 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (pip.cor.del.x,pip.cor.timDel.x,pip.vol.dynBal.U) * 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 (55): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003342/0.4204, allocations: 2.158 MB / 0.8792 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001861/0.4222, allocations: 0.9275 MB / 0.8801 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.4223, allocations: 0 / 0.8801 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0006286/0.4229, allocations: 415 kB / 0.8805 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002612/0.4255, allocations: 464.4 kB / 0.881 GB, free: 10.37 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01365/0.4392, allocations: 5.926 MB / 0.8868 GB, free: 4.195 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/0.4403, allocations: 1.058 MB / 0.8878 GB, free: 3.105 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001476/0.4418, allocations: 274.6 kB / 0.8881 GB, free: 2.855 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007829/0.4426, allocations: 415.3 kB / 0.8884 GB, free: 2.453 MB / 0.7012 GB Notification: Performance of SimCode: time 2.014e-06/0.4427, allocations: 0 / 0.8884 GB, free: 2.453 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06911/0.5118, allocations: 33.08 MB / 0.9208 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002235/0.512, allocations: 274.4 kB / 0.921 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.734/3.246, allocations: 0 / 0.921 GB, free: 1.574 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1) Environment - environmentSimulation: