Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.847/1.847, allocations: 289.9 MB / 297.4 MB, free: 6.375 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.00118/0.00118, allocations: 180.4 kB / 366.7 MB, free: 1.648 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.872/1.872, allocations: 205.2 MB / 0.626 GB, free: 7.191 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009497/0.0009497, allocations: 84.89 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.348e-05/2.344e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7576/0.7577, allocations: 116.3 MB / 0.9733 GB, free: 76.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.183/1.941, allocations: 431.1 MB / 1.394 GB, free: 125.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/1.941, allocations: 101.6 kB / 1.394 GB, free: 125.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.279/6.221, allocations: 1.095 GB / 2.489 GB, free: 115.2 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.923e-06/6.221, allocations: 0 / 2.489 GB, free: 115.2 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0002911/6.221, allocations: 67.12 kB / 2.489 GB, free: 115.2 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.006584/6.227, allocations: 2.303 MB / 2.491 GB, free: 114.3 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/6.228, allocations: 10.91 kB / 2.491 GB, free: 114.3 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/6.229, allocations: 263 kB / 2.492 GB, free: 114.2 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003989/6.233, allocations: 1.566 MB / 2.493 GB, free: 113.7 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.277e-05/6.233, allocations: 44.95 kB / 2.493 GB, free: 113.7 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001839/6.233, allocations: 87.62 kB / 2.493 GB, free: 113.7 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001656/6.235, allocations: 0.9347 MB / 2.494 GB, free: 113.7 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001661/6.236, allocations: 0.9492 MB / 2.495 GB, free: 113.6 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/6.236, allocations: 0 / 2.495 GB, free: 113.6 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.55e-05/6.236, allocations: 0 / 2.495 GB, free: 113.6 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.201e-05/6.236, allocations: 26.88 kB / 2.495 GB, free: 113.6 MB / 0.9636 GB Warning: The model contains alias variables with conflicting start and/or 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.01082/6.247, allocations: 6.063 MB / 2.501 GB, free: 111.1 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008153/6.248, allocations: 0.5998 MB / 2.502 GB, free: 111 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000431/6.248, allocations: 374.7 kB / 2.502 GB, free: 111 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003751/6.249, allocations: 0.5125 MB / 2.502 GB, free: 110.5 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/6.249, allocations: 43.69 kB / 2.503 GB, free: 110.4 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002329/6.251, allocations: 422.7 kB / 2.503 GB, free: 110.4 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=58): time 4.218e-06/6.251, allocations: 0 / 2.503 GB, free: 110.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=58): time 0.001607/6.253, allocations: 0.8127 MB / 2.504 GB, free: 110.2 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/6.253, allocations: 59.03 kB / 2.504 GB, free: 110.2 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001751/6.255, allocations: 1.289 MB / 2.505 GB, free: 110 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.000136/6.255, allocations: 28.73 kB / 2.505 GB, free: 109.9 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000653/6.255, allocations: 0.9076 MB / 2.506 GB, free: 109.6 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/6.256, allocations: 199.1 kB / 2.506 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.806e-05/6.256, allocations: 0 / 2.506 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.857e-05/6.256, allocations: 349.4 kB / 2.506 GB, free: 109.2 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000555/6.256, allocations: 383.7 kB / 2.507 GB, free: 109.2 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007642/6.257, allocations: 0.7088 MB / 2.508 GB, free: 108.8 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009361/6.258, allocations: 488.3 kB / 2.508 GB, free: 108.8 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/6.258, allocations: 3.688 kB / 2.508 GB, free: 108.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002145/6.26, allocations: 1.232 MB / 2.509 GB, free: 108.7 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002196/6.26, allocations: 0.925 MB / 2.51 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/6.26, allocations: 0 / 2.51 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.006e-05/6.261, allocations: 7.156 kB / 2.51 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/6.262, allocations: 284.2 kB / 2.51 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/6.262, allocations: 9.562 kB / 2.51 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002105/6.264, allocations: 130.2 kB / 2.511 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/6.264, allocations: 65.06 kB / 2.511 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/6.264, allocations: 4.281 kB / 2.511 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001588/6.266, allocations: 0.9685 MB / 2.512 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/6.266, allocations: 2.875 kB / 2.512 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/6.266, allocations: 10.53 kB / 2.512 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/6.267, allocations: 272.5 kB / 2.512 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/6.267, allocations: 10.59 kB / 2.512 GB, free: 107.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001979/6.269, allocations: 129.3 kB / 2.512 GB, free: 107.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/6.269, allocations: 59.47 kB / 2.512 GB, free: 107.6 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 146 * 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.0003044/6.269, allocations: 135.2 kB / 2.512 GB, free: 107.5 MB / 0.9636 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0015/6.271, allocations: 0.7651 MB / 2.513 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002049/6.271, allocations: 176.4 kB / 2.513 GB, free: 107.3 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002034/6.273, allocations: 0.9709 MB / 2.514 GB, free: 107.2 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/6.273, allocations: 11.52 kB / 2.514 GB, free: 107.2 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/6.273, allocations: 0 / 2.514 GB, free: 107.2 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/6.273, allocations: 6.609 kB / 2.514 GB, free: 107.2 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003841/6.277, allocations: 2.138 MB / 2.516 GB, free: 106.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/6.277, allocations: 3.906 kB / 2.516 GB, free: 106.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005992/6.278, allocations: 133.3 kB / 2.516 GB, free: 106.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.489e-05/6.278, allocations: 6.219 kB / 2.516 GB, free: 106.8 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.842e-05/6.278, allocations: 14.59 kB / 2.516 GB, free: 106.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.085e-06/6.278, allocations: 8.938 kB / 2.516 GB, free: 106.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/6.278, allocations: 0 / 2.516 GB, free: 106.8 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/6.279, allocations: 1.058 MB / 2.517 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000744/6.28, allocations: 336.1 kB / 2.518 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001869/6.28, allocations: 6.344 kB / 2.518 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009794/6.281, allocations: 101.3 kB / 2.518 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/6.281, allocations: 57.14 kB / 2.518 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.781e-05/6.281, allocations: 17.78 kB / 2.518 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001377/6.283, allocations: 0.937 MB / 2.519 GB, free: 106 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.51e-07/6.283, allocations: 1.844 kB / 2.519 GB, free: 106 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003364/6.286, allocations: 0.9719 MB / 2.52 GB, free: 105.9 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.003537/6.289, allocations: 2.881 MB / 2.522 GB, free: 104.4 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002816/6.292, allocations: 1.505 MB / 2.524 GB, free: 104.4 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/6.292, allocations: 0 / 2.524 GB, free: 104.4 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0005248/6.293, allocations: 363.1 kB / 2.524 GB, free: 104.4 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005823/6.299, allocations: 0.9268 MB / 2.525 GB, free: 104.4 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006646/6.305, allocations: 2.44 MB / 2.528 GB, free: 103.6 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009365/6.306, allocations: 1.449 MB / 2.529 GB, free: 102.8 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002847/6.309, allocations: 474.4 kB / 2.529 GB, free: 102.8 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001092/6.31, allocations: 0.7898 MB / 2.53 GB, free: 102.8 MB / 0.9636 GB Notification: Performance of SimCode: time 2.434e-06/6.31, allocations: 0 / 2.53 GB, free: 102.8 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1106/6.421, allocations: 53.58 MB / 2.583 GB, free: 99.86 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001889/6.421, allocations: 199 kB / 2.583 GB, free: 99.66 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.674/11.1, allocations: 0 / 2.583 GB, free: 99.66 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > Buildings_8_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)