Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",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.001087/0.001087, allocations: 101.2 kB / 16.27 MB, free: 5.969 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.001101/0.001101, allocations: 192 kB / 17.2 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.253/1.253, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7053/0.7053, allocations: 122.8 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 63.91 kB / 0.4912 GB, free: 7.32 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2884, allocations: 77.91 MB / 0.5673 GB, free: 32.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.0142/0.3027, allocations: 15.52 MB / 0.5824 GB, free: 21.65 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0054/0.3081, allocations: 4.34 MB / 0.5867 GB, free: 18.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006809/0.3088, allocations: 17 kB / 0.5867 GB, free: 18.54 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008985/0.3097, allocations: 266.9 kB / 0.5869 GB, free: 18.33 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001464/0.3113, allocations: 0.599 MB / 0.5875 GB, free: 17.87 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00173/0.313, allocations: 0.709 MB / 0.5882 GB, free: 17.36 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001238/0.3143, allocations: 1.022 MB / 0.5892 GB, free: 16.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005617/0.3148, allocations: 340 kB / 0.5895 GB, free: 16.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007528/0.3156, allocations: 416.5 kB / 0.5899 GB, free: 16.36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005234/0.3161, allocations: 318.6 kB / 0.5902 GB, free: 16.17 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.015e-05/0.3162, allocations: 28.25 kB / 0.5903 GB, free: 16.17 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001154/0.3174, allocations: 0.6285 MB / 0.5909 GB, free: 15.83 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.3175, allocations: 101.3 kB / 0.591 GB, free: 15.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001993/0.3177, allocations: 226.2 kB / 0.5912 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008359/0.3186, allocations: 0.7563 MB / 0.5919 GB, free: 15.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3186, allocations: 1.312 kB / 0.5919 GB, free: 15.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3186, allocations: 0 / 0.5919 GB, free: 15.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.3186, allocations: 0 / 0.5919 GB, free: 15.12 MB / 446.1 MB 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.0009966/0.3196, allocations: 0.8333 MB / 0.5928 GB, free: 14.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.3197, allocations: 10.91 kB / 0.5928 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.717e-05/0.3197, allocations: 57.41 kB / 0.5928 GB, free: 14.35 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.833e-05/0.3198, allocations: 51.59 kB / 0.5929 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004361/0.3203, allocations: 414.2 kB / 0.5933 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.3203, allocations: 21.03 kB / 0.5933 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.82e-05/0.3204, allocations: 27.47 kB / 0.5933 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003751/0.3207, allocations: 214.8 kB / 0.5935 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.3208, allocations: 0 / 0.5935 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.3208, allocations: 9.75 kB / 0.5935 GB, free: 13.81 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.3208, allocations: 6.969 kB / 0.5935 GB, free: 13.81 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003451/0.3211, allocations: 170.2 kB / 0.5937 GB, free: 13.73 MB / 446.1 MB 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.001297/0.3224, allocations: 0.9476 MB / 0.5946 GB, free: 12.94 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002536/0.3227, allocations: 127.5 kB / 0.5947 GB, free: 12.87 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.3229, allocations: 79.39 kB / 0.5948 GB, free: 12.83 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001998/0.3231, allocations: 335.5 kB / 0.5951 GB, free: 12.44 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.3231, allocations: 43.72 kB / 0.5952 GB, free: 12.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.3231, allocations: 1.219 kB / 0.5952 GB, free: 12.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005854/0.3237, allocations: 241.4 kB / 0.5954 GB, free: 12.26 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.3237, allocations: 53.69 kB / 0.5955 GB, free: 12.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004438/0.3242, allocations: 469.8 kB / 0.5959 GB, free: 11.92 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.3242, allocations: 32.05 kB / 0.5959 GB, free: 11.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.3244, allocations: 236.7 kB / 0.5962 GB, free: 11.67 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.3244, allocations: 41.92 kB / 0.5962 GB, free: 11.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.247e-05/0.3245, allocations: 62.41 kB / 0.5963 GB, free: 11.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.498e-05/0.3245, allocations: 356.4 kB / 0.5966 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.3247, allocations: 77.25 kB / 0.5967 GB, free: 11.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.325, allocations: 150.7 kB / 0.5968 GB, free: 11.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003213/0.3253, allocations: 170.6 kB / 0.597 GB, free: 10.99 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3253, allocations: 0 / 0.597 GB, free: 10.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004909/0.3258, allocations: 250.9 kB / 0.5972 GB, free: 10.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3258, allocations: 11.02 kB / 0.5972 GB, free: 10.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.3258, allocations: 1.094 kB / 0.5972 GB, free: 10.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.3259, allocations: 1 kB / 0.5972 GB, free: 10.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.3261, allocations: 43.19 kB / 0.5973 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.3261, allocations: 6.719 kB / 0.5973 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003001/0.3264, allocations: 36.92 kB / 0.5973 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.134e-05/0.3264, allocations: 15.33 kB / 0.5973 GB, free: 10.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002358/0.3267, allocations: 195.7 kB / 0.5975 GB, free: 10.67 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002018/0.3269, allocations: 153.1 kB / 0.5977 GB, free: 10.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002914/0.3272, allocations: 177.3 kB / 0.5978 GB, free: 10.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.623e-06/0.3272, allocations: 5.391 kB / 0.5978 GB, free: 10.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004483/0.3277, allocations: 250.3 kB / 0.5981 GB, free: 10.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.003e-06/0.3277, allocations: 5.438 kB / 0.5981 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-06/0.3277, allocations: 5.375 kB / 0.5981 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.166e-06/0.3277, allocations: 2.688 kB / 0.5981 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.3279, allocations: 50.12 kB / 0.5981 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-06/0.3279, allocations: 2.281 kB / 0.5981 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003164/0.3282, allocations: 31.19 kB / 0.5982 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.3282, allocations: 7.594 kB / 0.5982 GB, free: 10.25 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.879e-05/0.3283, allocations: 201.1 kB / 0.5984 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.862e-05/0.3284, allocations: 47.53 kB / 0.5984 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005025/0.3289, allocations: 245 kB / 0.5986 GB, free: 9.883 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.3289, allocations: 6.016 kB / 0.5987 GB, free: 9.879 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3289, allocations: 0 / 0.5987 GB, free: 9.879 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.3289, allocations: 0 / 0.5987 GB, free: 9.879 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008253/0.3298, allocations: 0.7094 MB / 0.5993 GB, free: 9.285 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.3298, allocations: 1.031 kB / 0.5993 GB, free: 9.285 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.3299, allocations: 30.33 kB / 0.5994 GB, free: 9.277 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3299, allocations: 2.562 kB / 0.5994 GB, free: 9.277 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.3299, allocations: 10.59 kB / 0.5994 GB, free: 9.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.33, allocations: 6.453 kB / 0.5994 GB, free: 9.266 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.33, allocations: 1.312 kB / 0.5994 GB, free: 9.266 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003946/0.3304, allocations: 346.8 kB / 0.5997 GB, free: 9.004 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.601e-05/0.3305, allocations: 145.3 kB / 0.5999 GB, free: 8.859 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.396e-05/0.3305, allocations: 6.469 kB / 0.5999 GB, free: 8.855 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002063/0.3307, allocations: 13.98 kB / 0.5999 GB, free: 8.848 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.3308, allocations: 11.52 kB / 0.5999 GB, free: 8.844 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.3308, allocations: 4.781 kB / 0.5999 GB, free: 8.844 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002628/0.3311, allocations: 337.8 kB / 0.6002 GB, free: 8.535 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3311, allocations: 4 kB / 0.6002 GB, free: 8.531 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005849/0.3317, allocations: 199.7 kB / 0.6004 GB, free: 8.336 MB / 446.1 MB 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 (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.001375/0.333, allocations: 1.258 MB / 0.6016 GB, free: 7.203 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005638/0.3336, allocations: 278 kB / 0.6019 GB, free: 6.934 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3336, allocations: 0 / 0.6019 GB, free: 6.934 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001568/0.3338, allocations: 83.83 kB / 0.602 GB, free: 6.852 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009425/0.3348, allocations: 208.6 kB / 0.6022 GB, free: 6.664 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003169/0.3379, allocations: 3.387 MB / 0.6055 GB, free: 3.176 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000175/0.3381, allocations: 0.827 MB / 0.6063 GB, free: 2.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002618/0.3384, allocations: 95.8 kB / 0.6064 GB, free: 2.234 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.3385, allocations: 143.4 kB / 0.6065 GB, free: 2.094 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3385, allocations: 0 / 0.6065 GB, free: 2.094 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02901/0.3676, allocations: 12.67 MB / 0.6189 GB, free: 5.641 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.344/7.712, allocations: 3.938 kB / 0.6189 GB, free: 5.637 MB / 462.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)