Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7613/0.7613, allocations: 128.7 MB / 143.7 MB, free: 2.328 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001192/0.001192, allocations: 186 kB / 173.7 MB, free: 6.125 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.883/1.883, allocations: 205.4 MB / 409 MB, free: 10.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008522/0.0008522, allocations: 76.31 kB / 486.5 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003298/0.0003298, allocations: 14.47 kB / 0.5604 GB, free: 97.47 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1565, allocations: 76.77 MB / 0.6354 GB, free: 30.45 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.063/1.22, allocations: 358.7 MB / 0.9857 GB, free: 169.5 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/1.22, allocations: 102.5 kB / 0.9858 GB, free: 169.5 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.037/2.257, allocations: 400.4 MB / 1.377 GB, free: 110.3 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.773e-06/2.257, allocations: 0 / 1.377 GB, free: 110.3 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.901e-05/2.257, allocations: 26.19 kB / 1.377 GB, free: 110.3 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001882/2.259, allocations: 1.168 MB / 1.378 GB, free: 109.1 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/2.259, allocations: 11.44 kB / 1.378 GB, free: 109.1 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.148e-05/2.259, allocations: 82.53 kB / 1.378 GB, free: 109 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/2.259, allocations: 94.88 kB / 1.378 GB, free: 108.9 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008927/2.26, allocations: 0.574 MB / 1.379 GB, free: 108.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.038e-05/2.26, allocations: 44.94 kB / 1.379 GB, free: 108.3 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.968e-05/2.26, allocations: 56.34 kB / 1.379 GB, free: 108.2 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/2.261, allocations: 0.508 MB / 1.379 GB, free: 107.7 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/2.261, allocations: 0 / 1.379 GB, free: 107.7 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.859e-05/2.261, allocations: 24 kB / 1.379 GB, free: 107.7 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/2.261, allocations: 11.5 kB / 1.379 GB, free: 107.7 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/2.263, allocations: 419.2 kB / 1.38 GB, free: 107.2 MB / 0.6511 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.002274/2.265, allocations: 1.821 MB / 1.382 GB, free: 105.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/2.266, allocations: 276.5 kB / 1.382 GB, free: 105 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002225/2.266, allocations: 343.5 kB / 1.382 GB, free: 104.6 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/2.266, allocations: 38.5 kB / 1.382 GB, free: 104.6 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 3.307e-06/2.266, allocations: 3.703 kB / 1.382 GB, free: 104.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.002056/2.268, allocations: 0.5237 MB / 1.383 GB, free: 104.1 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/2.269, allocations: 54.56 kB / 1.383 GB, free: 104 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005141/2.269, allocations: 0.5779 MB / 1.383 GB, free: 103.4 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/2.269, allocations: 37.64 kB / 1.383 GB, free: 103.4 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/2.269, allocations: 367.2 kB / 1.384 GB, free: 103 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/2.269, allocations: 55.2 kB / 1.384 GB, free: 103 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.981e-05/2.269, allocations: 4 kB / 1.384 GB, free: 103 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.079e-05/2.269, allocations: 389.6 kB / 1.384 GB, free: 102.6 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003229/2.27, allocations: 134.8 kB / 1.384 GB, free: 102.4 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000367/2.27, allocations: 256.3 kB / 1.385 GB, free: 102.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003409/2.27, allocations: 159.1 kB / 1.385 GB, free: 102 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/2.27, allocations: 0 / 1.385 GB, free: 102 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008107/2.271, allocations: 455.9 kB / 1.385 GB, free: 101.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.176e-05/2.271, allocations: 277.8 kB / 1.385 GB, free: 101.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/2.271, allocations: 0 / 1.385 GB, free: 101.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/2.271, allocations: 7.953 kB / 1.385 GB, free: 101.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003108/2.275, allocations: 450.2 kB / 1.386 GB, free: 100.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002337/2.277, allocations: 2.622 MB / 1.388 GB, free: 98.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000719/2.278, allocations: 101.6 kB / 1.388 GB, free: 98.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.166e-05/2.278, allocations: 19.98 kB / 1.388 GB, free: 98.03 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.436e-06/2.278, allocations: 4 kB / 1.388 GB, free: 98.03 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000444/2.278, allocations: 279.7 kB / 1.389 GB, free: 97.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-06/2.278, allocations: 0 / 1.389 GB, free: 97.76 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.6e-06/2.278, allocations: 4 kB / 1.389 GB, free: 97.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003651/2.279, allocations: 103 kB / 1.389 GB, free: 97.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/2.279, allocations: 7.953 kB / 1.389 GB, free: 97.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004265/2.279, allocations: 78.66 kB / 1.389 GB, free: 97.57 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.599e-05/2.279, allocations: 19.98 kB / 1.389 GB, free: 97.55 MB / 0.6511 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 (43): * Single equations (assignments): 39 * 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.0002612/2.279, allocations: 260.2 kB / 1.389 GB, free: 97.29 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.888e-05/2.279, allocations: 67 kB / 1.389 GB, free: 97.23 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007032/2.28, allocations: 335.1 kB / 1.39 GB, free: 96.89 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/2.28, allocations: 11.94 kB / 1.39 GB, free: 96.88 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/2.28, allocations: 3.938 kB / 1.39 GB, free: 96.88 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/2.28, allocations: 0 / 1.39 GB, free: 96.88 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004866/2.281, allocations: 0.5049 MB / 1.39 GB, free: 96.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/2.281, allocations: 3.984 kB / 1.39 GB, free: 96.32 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002906/2.284, allocations: 443.9 kB / 1.391 GB, free: 95.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/2.284, allocations: 2.594 kB / 1.391 GB, free: 95.91 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/2.284, allocations: 7.953 kB / 1.391 GB, free: 95.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007415/2.291, allocations: 6.056 MB / 1.396 GB, free: 89.37 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/2.291, allocations: 0 / 1.396 GB, free: 89.37 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000735/2.292, allocations: 316.2 kB / 1.397 GB, free: 89.05 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000245/2.292, allocations: 156.2 kB / 1.397 GB, free: 88.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.243e-05/2.292, allocations: 4 kB / 1.397 GB, free: 88.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000547/2.293, allocations: 73.91 kB / 1.397 GB, free: 88.81 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.843e-05/2.293, allocations: 14.73 kB / 1.397 GB, free: 88.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/2.293, allocations: 11.98 kB / 1.397 GB, free: 88.79 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005547/2.293, allocations: 483 kB / 1.397 GB, free: 88.32 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/2.293, allocations: 0 / 1.397 GB, free: 88.32 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001113/2.294, allocations: 391.4 kB / 1.398 GB, free: 87.93 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.001385/2.296, allocations: 1.229 MB / 1.399 GB, free: 86.79 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00357/2.299, allocations: 0.7649 MB / 1.4 GB, free: 86.02 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/2.299, allocations: 0 / 1.4 GB, free: 86.02 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002785/2.302, allocations: 483.6 kB / 1.4 GB, free: 85.55 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001674/2.304, allocations: 358.5 kB / 1.401 GB, free: 85.21 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/2.306, allocations: 1.975 MB / 1.403 GB, free: 83.19 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/2.306, allocations: 0.937 MB / 1.403 GB, free: 82.22 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003982/2.307, allocations: 108 kB / 1.404 GB, free: 82.12 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002222/2.307, allocations: 251.3 kB / 1.404 GB, free: 81.88 MB / 0.6511 GB Notification: Performance of SimCode: time 6.31e-07/2.307, allocations: 0 / 1.404 GB, free: 81.88 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03791/2.345, allocations: 22.52 MB / 1.426 GB, free: 60 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002289/2.345, allocations: 276.4 kB / 1.426 GB, free: 59.64 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.669/5.015, allocations: 3.438 kB / 1.426 GB, free: 59.64 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1)