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.744/1.744, allocations: 289.7 MB / 302.2 MB, free: 2.199 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.001167/0.001167, allocations: 180.1 kB / 371.6 MB, free: 3.402 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.706/1.706, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.001105/0.001105, allocations: 94.81 kB / 0.745 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.624e-05/4.627e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.317, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.89/2.207, allocations: 431.8 MB / 1.402 GB, free: 256.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/2.207, allocations: 97.88 kB / 1.402 GB, free: 256.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.84/7.048, allocations: 1.1 GB / 2.502 GB, free: 107.4 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.324e-06/7.048, allocations: 1.469 kB / 2.502 GB, free: 107.4 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0004016/7.048, allocations: 68.09 kB / 2.502 GB, free: 107.4 MB / 0.9792 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.009402/7.058, allocations: 2.303 MB / 2.504 GB, free: 106.7 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 6.541e-05/7.058, allocations: 9.75 kB / 2.504 GB, free: 106.7 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007166/7.058, allocations: 177.4 kB / 2.504 GB, free: 106.7 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00158/7.06, allocations: 266.9 kB / 2.505 GB, free: 106.5 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007325/7.067, allocations: 1.558 MB / 2.506 GB, free: 106.2 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001962/7.068, allocations: 110.7 kB / 2.506 GB, free: 106.2 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000573/7.068, allocations: 148.3 kB / 2.506 GB, free: 106.2 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004122/7.072, allocations: 1.11 MB / 2.508 GB, free: 106.1 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.048e-05/7.072, allocations: 6.219 kB / 2.508 GB, free: 106.1 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002163/7.073, allocations: 47.27 kB / 2.508 GB, free: 106.1 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.259e-05/7.073, allocations: 29.62 kB / 2.508 GB, free: 106.1 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00294/7.076, allocations: 0.9572 MB / 2.509 GB, free: 106.1 MB / 0.9792 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.01882/7.094, allocations: 6.353 MB / 2.515 GB, free: 103.5 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001705/7.096, allocations: 0.5643 MB / 2.515 GB, free: 103.5 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008919/7.097, allocations: 384.3 kB / 2.516 GB, free: 103.5 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008081/7.098, allocations: 0.5149 MB / 2.516 GB, free: 102.9 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.252e-05/7.098, allocations: 37.75 kB / 2.516 GB, free: 102.9 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00444/7.103, allocations: 478.2 kB / 2.517 GB, free: 102.8 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=58): time 2.151e-05/7.103, allocations: 0 / 2.517 GB, free: 102.8 MB / 0.9792 GB Notification: Performance of matching and sorting (n=58): time 0.003758/7.106, allocations: 0.8198 MB / 2.517 GB, free: 102.7 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.21e-05/7.107, allocations: 62.78 kB / 2.518 GB, free: 102.6 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006481/7.113, allocations: 1.575 MB / 2.519 GB, free: 102.4 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0005928/7.114, allocations: 52.67 kB / 2.519 GB, free: 102.4 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001755/7.115, allocations: 0.9304 MB / 2.52 GB, free: 102.2 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005238/7.116, allocations: 201.9 kB / 2.52 GB, free: 102.1 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003297/7.116, allocations: 21.91 kB / 2.52 GB, free: 102.1 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001867/7.117, allocations: 352.6 kB / 2.521 GB, free: 101.8 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001328/7.118, allocations: 383.8 kB / 2.521 GB, free: 101.8 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001664/7.12, allocations: 0.7192 MB / 2.522 GB, free: 101.4 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001548/7.121, allocations: 498.5 kB / 2.522 GB, free: 101.4 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.165e-05/7.121, allocations: 1.812 kB / 2.522 GB, free: 101.4 MB / 0.9792 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.004459/7.126, allocations: 1.286 MB / 2.523 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004682/7.126, allocations: 0.9278 MB / 2.524 GB, free: 100.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.217e-05/7.126, allocations: 2.969 kB / 2.524 GB, free: 100.2 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.084e-05/7.126, allocations: 17.53 kB / 2.524 GB, free: 100.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002022/7.128, allocations: 279.9 kB / 2.525 GB, free: 100.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.09e-05/7.128, allocations: 8.281 kB / 2.525 GB, free: 100.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004344/7.133, allocations: 161 kB / 2.525 GB, free: 100.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003842/7.133, allocations: 64.41 kB / 2.525 GB, free: 100.2 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 3.715e-05/7.133, allocations: 4.719 kB / 2.525 GB, free: 100.2 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003491/7.137, allocations: 1.065 MB / 2.526 GB, free: 100.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/7.137, allocations: 5.625 kB / 2.526 GB, free: 100.2 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.826e-05/7.137, allocations: 12.2 kB / 2.526 GB, free: 100.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001689/7.139, allocations: 275.2 kB / 2.526 GB, free: 100.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-05/7.139, allocations: 12.86 kB / 2.526 GB, free: 100.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003467/7.142, allocations: 164.5 kB / 2.526 GB, free: 100.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002623/7.142, allocations: 58.97 kB / 2.526 GB, free: 100.2 MB / 0.9792 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.0005588/7.143, allocations: 168.7 kB / 2.527 GB, free: 100.1 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009399/7.144, allocations: 203.7 kB / 2.527 GB, free: 99.97 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003721/7.148, allocations: 1.032 MB / 2.528 GB, free: 99.89 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-05/7.148, allocations: 10.67 kB / 2.528 GB, free: 99.89 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/7.148, allocations: 0 / 2.528 GB, free: 99.89 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/7.148, allocations: 3.797 kB / 2.528 GB, free: 99.89 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007505/7.155, allocations: 2.333 MB / 2.53 GB, free: 99.49 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/7.155, allocations: 4.75 kB / 2.53 GB, free: 99.49 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008579/7.156, allocations: 137.7 kB / 2.53 GB, free: 99.49 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-05/7.156, allocations: 5.625 kB / 2.53 GB, free: 99.49 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.13e-05/7.156, allocations: 20.89 kB / 2.53 GB, free: 99.49 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.356e-05/7.156, allocations: 6.375 kB / 2.53 GB, free: 99.49 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/7.156, allocations: 3.281 kB / 2.53 GB, free: 99.49 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002782/7.159, allocations: 1.124 MB / 2.531 GB, free: 99.03 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001946/7.161, allocations: 362.8 kB / 2.532 GB, free: 98.82 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001097/7.162, allocations: 15.69 kB / 2.532 GB, free: 98.82 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001934/7.164, allocations: 117.4 kB / 2.532 GB, free: 98.82 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/7.164, allocations: 51.61 kB / 2.532 GB, free: 98.81 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.168e-05/7.165, allocations: 28.09 kB / 2.532 GB, free: 98.81 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.002992/7.168, allocations: 1.193 MB / 2.533 GB, free: 98.65 MB / 0.9792 GB Notification: Performance of sort global known variables: time 4.3e-07/7.168, allocations: 0.6562 kB / 2.533 GB, free: 98.65 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.005484/7.173, allocations: 0.9726 MB / 2.534 GB, free: 98.58 MB / 0.9792 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.004872/7.178, allocations: 2.916 MB / 2.537 GB, free: 97.08 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.004809/7.183, allocations: 1.581 MB / 2.538 GB, free: 97.04 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/7.183, allocations: 0 / 2.538 GB, free: 97.04 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0008166/7.184, allocations: 379 kB / 2.539 GB, free: 97.04 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008339/7.192, allocations: 1.135 MB / 2.54 GB, free: 97.02 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/7.202, allocations: 2.565 MB / 2.542 GB, free: 96.21 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001616/7.204, allocations: 1.443 MB / 2.544 GB, free: 95.47 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.004068/7.208, allocations: 0.5162 MB / 2.544 GB, free: 95.45 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001526/7.21, allocations: 0.7867 MB / 2.545 GB, free: 95.45 MB / 0.9792 GB Notification: Performance of SimCode: time 2.033e-06/7.21, allocations: 0 / 2.545 GB, free: 95.45 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1666/7.376, allocations: 68.02 MB / 2.611 GB, free: 92.89 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002211/7.376, allocations: 219.7 kB / 2.612 GB, free: 92.67 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.875/12.25, allocations: 0 / 2.612 GB, free: 92.67 MB / 0.9792 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)