Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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.Validation.TwoWayValveParameterization,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",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.001476/0.001476, allocations: 97.36 kB / 15.69 MB, free: 480 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.00181/0.00181, allocations: 173.3 kB / 16.57 MB, free: 6.398 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.765/1.765, allocations: 223.2 MB / 240.5 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6046/0.6046, allocations: 113.7 MB / 405.3 MB, free: 4.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002607/0.0002607, allocations: 8 kB / 493 MB, free: 8.605 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1232, allocations: 77.11 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02187/0.1451, allocations: 25.8 MB / 0.5819 GB, free: 1.828 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.215/0.3601, allocations: 9.246 MB / 0.591 GB, free: 12.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006028/0.3608, allocations: 22.59 kB / 0.591 GB, free: 12.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008328/0.3616, allocations: 346 kB / 0.5913 GB, free: 12.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002295/0.3639, allocations: 1.142 MB / 0.5924 GB, free: 12.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002146/0.3661, allocations: 0.9031 MB / 0.5933 GB, free: 12.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001296/0.3674, allocations: 1.24 MB / 0.5945 GB, free: 12.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006553/0.368, allocations: 0.5319 MB / 0.595 GB, free: 12.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001153/0.3692, allocations: 0.7791 MB / 0.5958 GB, free: 12.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005372/0.3698, allocations: 466.2 kB / 0.5962 GB, free: 12.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.348e-05/0.3698, allocations: 30.88 kB / 0.5963 GB, free: 12.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008045/0.3706, allocations: 384.3 kB / 0.5966 GB, free: 12.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.3708, allocations: 136.2 kB / 0.5968 GB, free: 12.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.3709, allocations: 182.2 kB / 0.5969 GB, free: 12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007525/0.3717, allocations: 0.7078 MB / 0.5976 GB, free: 11.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.3717, allocations: 0 / 0.5976 GB, free: 11.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3717, allocations: 1.188 kB / 0.5976 GB, free: 11.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.3717, allocations: 0 / 0.5976 GB, free: 11.93 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001428/0.3732, allocations: 1.013 MB / 0.5986 GB, free: 27.25 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.3732, allocations: 13.39 kB / 0.5986 GB, free: 27.25 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.572e-05/0.3733, allocations: 85.91 kB / 0.5987 GB, free: 27.21 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.3734, allocations: 101.3 kB / 0.5988 GB, free: 27.16 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000672/0.3741, allocations: 0.5299 MB / 0.5993 GB, free: 26.88 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/0.3741, allocations: 45.8 kB / 0.5994 GB, free: 26.88 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.448e-05/0.3742, allocations: 59.25 kB / 0.5994 GB, free: 26.87 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006595/0.3749, allocations: 406.5 kB / 0.5998 GB, free: 26.84 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.3749, allocations: 1.438 kB / 0.5998 GB, free: 26.84 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.254e-05/0.3749, allocations: 19.53 kB / 0.5998 GB, free: 26.84 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.3749, allocations: 14.53 kB / 0.5999 GB, free: 26.84 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005583/0.3755, allocations: 308.7 kB / 0.6001 GB, free: 26.84 MB / 462.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.002312/0.3778, allocations: 1.862 MB / 0.602 GB, free: 25.92 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003034/0.3781, allocations: 176.9 kB / 0.6021 GB, free: 25.89 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001837/0.3783, allocations: 336.6 kB / 0.6025 GB, free: 25.51 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.081e-05/0.3783, allocations: 31.75 kB / 0.6025 GB, free: 25.47 MB / 462.1 MB Notification: Performance of pre-optimization done (n=19): time 1.253e-06/0.3784, allocations: 1.531 kB / 0.6025 GB, free: 25.47 MB / 462.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006375/0.379, allocations: 323.3 kB / 0.6028 GB, free: 25.39 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.055e-05/0.379, allocations: 58.55 kB / 0.6028 GB, free: 25.33 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007518/0.3798, allocations: 0.6776 MB / 0.6035 GB, free: 25.19 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.3798, allocations: 30.95 kB / 0.6035 GB, free: 25.16 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/0.38, allocations: 368.9 kB / 0.6039 GB, free: 25.01 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.704e-05/0.3801, allocations: 64.48 kB / 0.604 GB, free: 24.97 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.609e-05/0.3801, allocations: 9.938 kB / 0.604 GB, free: 24.97 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3802, allocations: 376.5 kB / 0.6043 GB, free: 24.66 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.3805, allocations: 103.4 kB / 0.6044 GB, free: 24.66 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002756/0.3808, allocations: 177.9 kB / 0.6046 GB, free: 24.59 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.381, allocations: 124.3 kB / 0.6047 GB, free: 24.59 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.381, allocations: 0.6562 kB / 0.6047 GB, free: 24.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006578/0.3817, allocations: 395.1 kB / 0.6051 GB, free: 24.51 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001001/0.3818, allocations: 275.2 kB / 0.6053 GB, free: 24.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3818, allocations: 4.594 kB / 0.6054 GB, free: 24.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.3818, allocations: 2.625 kB / 0.6054 GB, free: 24.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009179/0.3828, allocations: 163.2 kB / 0.6055 GB, free: 24.22 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001073/0.3838, allocations: 2.374 MB / 0.6078 GB, free: 21.86 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004926/0.3843, allocations: 88.83 kB / 0.6079 GB, free: 21.83 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.3844, allocations: 21.39 kB / 0.6079 GB, free: 21.83 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.483e-06/0.3844, allocations: 3.781 kB / 0.6079 GB, free: 21.83 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005072/0.3849, allocations: 289.7 kB / 0.6082 GB, free: 21.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-06/0.3849, allocations: 4.781 kB / 0.6082 GB, free: 21.81 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.338e-06/0.3849, allocations: 3.406 kB / 0.6082 GB, free: 21.81 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003825/0.3853, allocations: 101.6 kB / 0.6083 GB, free: 21.81 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-06/0.3853, allocations: 1.562 kB / 0.6083 GB, free: 21.81 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004219/0.3858, allocations: 75.86 kB / 0.6084 GB, free: 21.79 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.677e-05/0.3858, allocations: 19.12 kB / 0.6084 GB, free: 21.79 MB / 462.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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002112/0.386, allocations: 263.1 kB / 0.6087 GB, free: 21.59 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.515e-05/0.3861, allocations: 75.19 kB / 0.6087 GB, free: 21.55 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005748/0.3867, allocations: 315.8 kB / 0.609 GB, free: 21.49 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.3867, allocations: 7.812 kB / 0.609 GB, free: 21.49 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.3867, allocations: 0.7031 kB / 0.609 GB, free: 21.49 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.3867, allocations: 0.5625 kB / 0.609 GB, free: 21.49 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.3878, allocations: 0.9026 MB / 0.6099 GB, free: 21.14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.3878, allocations: 1.125 kB / 0.6099 GB, free: 21.14 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002792/0.3881, allocations: 72.38 kB / 0.61 GB, free: 21.13 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.3881, allocations: 6.828 kB / 0.61 GB, free: 21.13 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.3881, allocations: 6.688 kB / 0.61 GB, free: 21.13 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009121/0.389, allocations: 2.355 MB / 0.6123 GB, free: 18.78 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.389, allocations: 1.375 kB / 0.6123 GB, free: 18.78 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004533/0.3895, allocations: 455 kB / 0.6127 GB, free: 18.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.3896, allocations: 179.8 kB / 0.6129 GB, free: 18.37 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.476e-05/0.3897, allocations: 10.27 kB / 0.6129 GB, free: 18.36 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003686/0.3901, allocations: 54.59 kB / 0.613 GB, free: 18.36 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.3902, allocations: 17.61 kB / 0.613 GB, free: 18.35 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.3902, allocations: 11.64 kB / 0.613 GB, free: 18.35 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004428/0.3906, allocations: 467.8 kB / 0.6135 GB, free: 18.26 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3906, allocations: 1.531 kB / 0.6135 GB, free: 18.26 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007352/0.3914, allocations: 347.6 kB / 0.6138 GB, free: 18.21 MB / 462.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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001054/0.3924, allocations: 1.423 MB / 0.6152 GB, free: 17.09 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001334/0.3938, allocations: 499.3 kB / 0.6156 GB, free: 17.07 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3938, allocations: 0 / 0.6156 GB, free: 17.07 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003472/0.3941, allocations: 146.5 kB / 0.6158 GB, free: 17.06 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/0.3958, allocations: 369.6 kB / 0.6161 GB, free: 17.03 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/0.3977, allocations: 2.036 MB / 0.6181 GB, free: 15.73 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003974/0.3982, allocations: 0.9482 MB / 0.6191 GB, free: 15.02 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003732/0.3985, allocations: 129.5 kB / 0.6192 GB, free: 14.98 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002157/0.3988, allocations: 254.2 kB / 0.6194 GB, free: 14.93 MB / 462.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3988, allocations: 3.938 kB / 0.6194 GB, free: 14.93 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9841/1.383, allocations: 17.99 MB / 0.637 GB, free: 5.449 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002765/1.383, allocations: 285.6 kB / 0.6373 GB, free: 5.078 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.06/3.443, allocations: 1.875 kB / 0.6373 GB, free: 5.078 MB / 462.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.fmu > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1) Environment - environmentSimulation: