Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.715/1.715, allocations: 288.2 MB / 303.2 MB, free: 8.059 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001186/0.001186, allocations: 179.7 kB / 371.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.703/1.703, allocations: 205.4 MB / 0.6305 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008933/0.0008933, allocations: 93.83 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004152/0.0004153, allocations: 15.84 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2765, allocations: 115.3 MB / 0.9795 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01747/0.294, allocations: 13.25 MB / 0.9924 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01302/0.3071, allocations: 6.354 MB / 0.9986 GB, free: 7.895 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009275/0.3081, allocations: 19.81 kB / 0.9986 GB, free: 7.875 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001522/0.3097, allocations: 338.5 kB / 0.999 GB, free: 7.543 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002693/0.3124, allocations: 0.6036 MB / 0.9996 GB, free: 6.938 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.007282/0.3197, allocations: 1.866 MB / 1.001 GB, free: 5.094 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001366/0.321, allocations: 0.6326 MB / 1.002 GB, free: 4.457 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004526/0.3215, allocations: 258.5 kB / 1.002 GB, free: 4.199 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005868/0.3221, allocations: 338.8 kB / 1.003 GB, free: 3.867 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000298/0.3224, allocations: 219 kB / 1.003 GB, free: 3.652 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.669e-05/0.3225, allocations: 16 kB / 1.003 GB, free: 3.637 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008687/0.3234, allocations: 387.4 kB / 1.003 GB, free: 3.258 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.995e-05/0.3235, allocations: 87.64 kB / 1.003 GB, free: 3.172 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.441e-05/0.3236, allocations: 105.5 kB / 1.003 GB, free: 3.062 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006386/0.3242, allocations: 474.8 kB / 1.004 GB, free: 2.598 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.3243, allocations: 0 / 1.004 GB, free: 2.598 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3243, allocations: 0 / 1.004 GB, free: 2.598 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.3243, allocations: 7.938 kB / 1.004 GB, free: 2.59 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001124/0.3254, allocations: 0.7286 MB / 1.005 GB, free: 1.812 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.3255, allocations: 8.031 kB / 1.005 GB, free: 1.805 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.082e-05/0.3255, allocations: 54.55 kB / 1.005 GB, free: 1.742 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.79e-05/0.3256, allocations: 55.34 kB / 1.005 GB, free: 1.688 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006162/0.3263, allocations: 400.9 kB / 1.005 GB, free: 1.258 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.3263, allocations: 20.44 kB / 1.005 GB, free: 1.238 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.497e-05/0.3263, allocations: 24 kB / 1.005 GB, free: 1.215 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004933/0.3268, allocations: 223.2 kB / 1.005 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.3269, allocations: 3.938 kB / 1.005 GB, free: 0.9883 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.513e-05/0.3269, allocations: 12 kB / 1.005 GB, free: 0.9766 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.3269, allocations: 4 kB / 1.005 GB, free: 0.9727 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004043/0.3273, allocations: 173.6 kB / 1.005 GB, free: 0.8047 MB / 0.6198 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.001768/0.3291, allocations: 0.9496 MB / 1.006 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003454/0.3295, allocations: 138.5 kB / 1.007 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003607/0.3298, allocations: 336.5 kB / 1.007 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.3299, allocations: 38.55 kB / 1.007 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 2.114e-06/0.3299, allocations: 0 / 1.007 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.000764/0.3307, allocations: 249.4 kB / 1.007 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.3307, allocations: 51.41 kB / 1.007 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006025/0.3313, allocations: 465.9 kB / 1.008 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.617e-05/0.3314, allocations: 33.7 kB / 1.008 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002209/0.3316, allocations: 224.6 kB / 1.008 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.49e-05/0.3317, allocations: 47.3 kB / 1.008 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.298e-05/0.3317, allocations: 4 kB / 1.008 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.3319, allocations: 354.8 kB / 1.008 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002133/0.3321, allocations: 75.77 kB / 1.008 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003296/0.3324, allocations: 149.1 kB / 1.008 GB, free: 13.49 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/0.3327, allocations: 95.84 kB / 1.009 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/0.3327, allocations: 0 / 1.009 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006229/0.3334, allocations: 258.3 kB / 1.009 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001458/0.3335, allocations: 270.9 kB / 1.009 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.3335, allocations: 3.984 kB / 1.009 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.3336, allocations: 8 kB / 1.009 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002925/0.3339, allocations: 47.97 kB / 1.009 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.3339, allocations: 7.953 kB / 1.009 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000433/0.3343, allocations: 39.81 kB / 1.009 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.916e-05/0.3344, allocations: 8 kB / 1.009 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.3344, allocations: 5.188 kB / 1.009 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005559/0.335, allocations: 195.6 kB / 1.009 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.335, allocations: 3.984 kB / 1.009 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.266e-06/0.335, allocations: 0 / 1.009 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.3352, allocations: 47.98 kB / 1.009 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.3353, allocations: 7.984 kB / 1.009 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003299/0.3356, allocations: 39.81 kB / 1.009 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.3356, allocations: 7.938 kB / 1.009 GB, free: 12.44 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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.0002825/0.3359, allocations: 252.9 kB / 1.01 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.345e-05/0.336, allocations: 39.44 kB / 1.01 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006377/0.3366, allocations: 266.3 kB / 1.01 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.3367, allocations: 0 / 1.01 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/0.3367, allocations: 8 kB / 1.01 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.3367, allocations: 3.984 kB / 1.01 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001246/0.3379, allocations: 0.7115 MB / 1.011 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.338, allocations: 0 / 1.011 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.3381, allocations: 35.97 kB / 1.011 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.3381, allocations: 4 kB / 1.011 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.3381, allocations: 4 kB / 1.011 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.3382, allocations: 3.938 kB / 1.011 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3382, allocations: 0 / 1.011 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005763/0.3388, allocations: 404.1 kB / 1.011 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001735/0.3389, allocations: 148.4 kB / 1.011 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.013e-05/0.339, allocations: 0 / 1.011 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.3392, allocations: 27.98 kB / 1.011 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.593e-05/0.3393, allocations: 11.92 kB / 1.011 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/0.3393, allocations: 15.98 kB / 1.011 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003594/0.3397, allocations: 326.9 kB / 1.012 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3397, allocations: 0 / 1.012 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007296/0.3404, allocations: 187.7 kB / 1.012 GB, free: 9.871 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (16): * Single equations (assignments): 14 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002257/0.3427, allocations: 1.587 MB / 1.013 GB, free: 8.359 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007355/0.3435, allocations: 283.6 kB / 1.014 GB, free: 8.082 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3435, allocations: 0 / 1.014 GB, free: 8.082 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000214/0.3437, allocations: 87.83 kB / 1.014 GB, free: 7.996 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/0.3451, allocations: 229.7 kB / 1.014 GB, free: 7.777 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/0.3473, allocations: 1.452 MB / 1.015 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/0.3477, allocations: 0.8347 MB / 1.016 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000328/0.3481, allocations: 95.48 kB / 1.016 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002104/0.3483, allocations: 143.4 kB / 1.016 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of SimCode: time 1.133e-06/0.3483, allocations: 0 / 1.016 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02856/0.3769, allocations: 12.08 MB / 1.028 GB, free: 9.285 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/0.3771, allocations: 244.1 kB / 1.028 GB, free: 9.047 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.327/2.705, allocations: 0 / 1.028 GB, free: 9.047 MB / 0.6511 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)