Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Simplified_Examples_Thermostatic3WayValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Simplified_Examples_Thermostatic3WayValve",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.001327/0.001327, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001118/0.001117, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.59/1.59, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.145/1.145, allocations: 135.2 MB / 426.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005574/0.0005575, allocations: 8 kB / 0.5069 GB, free: 5.105 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2357, allocations: 82.32 MB / 0.5873 GB, free: 2.961 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve): time 0.4175/0.6533, allocations: 40.21 MB / 0.6266 GB, free: 31.28 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02318/0.6765, allocations: 11.62 MB / 0.6379 GB, free: 23.13 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003233/0.6798, allocations: 59.81 kB / 0.638 GB, free: 23.1 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003751/0.6836, allocations: 0.7533 MB / 0.6387 GB, free: 22.68 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/Actuators/Valves/Simplified/Thermostatic3WayValve.mo:34:3-38:63:writable] Warning: Conditional component ‘vol‘ is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.008601/0.6922, allocations: 2.06 MB / 0.6407 GB, free: 21.37 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006581/0.6988, allocations: 1.812 MB / 0.6425 GB, free: 20.52 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007004/0.7058, allocations: 2.393 MB / 0.6448 GB, free: 19.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002584/0.7085, allocations: 1.095 MB / 0.6459 GB, free: 18.85 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003604/0.7121, allocations: 1.111 MB / 0.647 GB, free: 18.33 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002095/0.7142, allocations: 0.753 MB / 0.6477 GB, free: 18 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005427/0.7148, allocations: 62.22 kB / 0.6478 GB, free: 18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004109/0.7189, allocations: 1.115 MB / 0.6489 GB, free: 17.73 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006708/0.7197, allocations: 324.6 kB / 0.6492 GB, free: 17.59 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007986/0.7205, allocations: 338.1 kB / 0.6495 GB, free: 17.4 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003857/0.7243, allocations: 2.119 MB / 0.6516 GB, free: 16.9 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.7244, allocations: 2.969 kB / 0.6516 GB, free: 16.9 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.457e-06/0.7244, allocations: 0 / 0.6516 GB, free: 16.9 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.33e-05/0.7244, allocations: 0 / 0.6516 GB, free: 16.9 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.004057/0.7285, allocations: 1.741 MB / 0.6533 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 7.744e-05/0.7286, allocations: 8.219 kB / 0.6533 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00034/0.729, allocations: 140.9 kB / 0.6534 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01026/0.7392, allocations: 1.626 MB / 0.655 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003797/0.7431, allocations: 1.335 MB / 0.6563 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004747/0.7436, allocations: 138.8 kB / 0.6564 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003273/0.7439, allocations: 93.5 kB / 0.6565 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006638/0.7506, allocations: 1.734 MB / 0.6582 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.198e-05/0.7506, allocations: 0 / 0.6582 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001264/0.7508, allocations: 38.14 kB / 0.6582 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.055e-05/0.7508, allocations: 22.12 kB / 0.6583 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009793/0.7606, allocations: 2.088 MB / 0.6603 GB, free: 13.6 MB / 0.4981 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.02252/0.7832, allocations: 6.756 MB / 0.6669 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008663/0.7919, allocations: 1.687 MB / 0.6686 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006131/0.798, allocations: 3.591 MB / 0.6721 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.7981, allocations: 38.44 kB / 0.6721 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007903/0.7989, allocations: 73.5 kB / 0.6722 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 6.593e-06/0.7989, allocations: 4 kB / 0.6722 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.01254/0.8115, allocations: 2.473 MB / 0.6746 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.8116, allocations: 57.22 kB / 0.6746 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003088/0.8147, allocations: 1.395 MB / 0.676 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002353/0.8149, allocations: 36.7 kB / 0.676 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006131/0.8156, allocations: 0.6633 MB / 0.6767 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003126/0.8159, allocations: 164.7 kB / 0.6768 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.816, allocations: 11.16 kB / 0.6769 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.951e-05/0.8161, allocations: 342.2 kB / 0.6772 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004178/0.8203, allocations: 0.8726 MB / 0.678 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004443/0.8247, allocations: 1.157 MB / 0.6792 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004183/0.829, allocations: 0.8594 MB / 0.68 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.378e-05/0.829, allocations: 2.219 kB / 0.68 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.01091/0.8399, allocations: 2.092 MB / 0.682 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.00107/0.8411, allocations: 3.029 MB / 0.685 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.57e-05/0.8411, allocations: 7.438 kB / 0.685 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.182e-05/0.8412, allocations: 13.38 kB / 0.685 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002763/0.844, allocations: 456.7 kB / 0.6855 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.37e-05/0.844, allocations: 15.22 kB / 0.6855 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003573/0.8476, allocations: 379.2 kB / 0.6858 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000287/0.8479, allocations: 55.39 kB / 0.6859 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.8479, allocations: 7.438 kB / 0.6859 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009217/0.8572, allocations: 1.883 MB / 0.6877 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.993e-05/0.8573, allocations: 7.406 kB / 0.6877 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.104e-05/0.8573, allocations: 13.69 kB / 0.6878 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002527/0.8598, allocations: 445.5 kB / 0.6882 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.182e-05/0.8599, allocations: 14.06 kB / 0.6882 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00306/0.863, allocations: 350.6 kB / 0.6885 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002213/0.8632, allocations: 46.36 kB / 0.6886 GB, free: 13.82 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (90): * Single equations (assignments): 89 * Array equations: 1 * 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.001154/0.8644, allocations: 424.1 kB / 0.689 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005314/0.8649, allocations: 136.1 kB / 0.6891 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009467/0.8744, allocations: 2.124 MB / 0.6912 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.528e-05/0.8745, allocations: 15.44 kB / 0.6912 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/0.8745, allocations: 0 / 0.6912 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007965/0.8825, allocations: 1.871 MB / 0.693 GB, free: 11.45 MB / 0.5137 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 postOpt removeSimpleEquations (simulation): time 0.01213/0.8946, allocations: 3.488 MB / 0.6964 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/0.8947, allocations: 0 / 0.6964 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002069/0.8968, allocations: 373 kB / 0.6968 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.564e-05/0.8968, allocations: 2.906 kB / 0.6968 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/0.8969, allocations: 29.44 kB / 0.6968 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-05/0.897, allocations: 2.688 kB / 0.6968 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.952e-06/0.897, allocations: 3.625 kB / 0.6968 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01228/0.9093, allocations: 3.042 MB / 0.6998 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001656/0.911, allocations: 359.1 kB / 0.7001 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007554/0.9117, allocations: 12 kB / 0.7001 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002996/0.9148, allocations: 323.5 kB / 0.7005 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.9149, allocations: 40.38 kB / 0.7005 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001269/0.9151, allocations: 39.92 kB / 0.7005 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002168/0.9172, allocations: 0.9711 MB / 0.7015 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.745e-06/0.9173, allocations: 3.938 kB / 0.7015 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00373/0.921, allocations: 0.78 MB / 0.7022 GB, free: 4.832 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (thermostatic3WayValve.vol.dynBal.U,thermostatic3WayValve.k_state,T_out.T) * 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 (58): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.01404/0.935, allocations: 4.384 MB / 0.7065 GB, free: 412 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01269/0.9478, allocations: 2.877 MB / 0.7093 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/0.9478, allocations: 5.422 kB / 0.7093 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004207/0.9521, allocations: 0.9161 MB / 0.7102 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004462/0.9566, allocations: 0.7415 MB / 0.711 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01347/0.9701, allocations: 9.368 MB / 0.7201 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001202/0.9714, allocations: 1.246 MB / 0.7213 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003154/0.9746, allocations: 417.9 kB / 0.7217 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001226/0.9758, allocations: 0.5656 MB / 0.7223 GB, free: 68 kB / 0.5294 GB Notification: Performance of SimCode: time 3.316e-06/0.9758, allocations: 0 / 0.7223 GB, free: 68 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0979/1.074, allocations: 44.18 MB / 0.7654 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/1.074, allocations: 245.8 kB / 0.7657 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.599/4.673, allocations: 0 / 0.7657 GB, free: 4.219 MB / 0.5762 GB (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Simplified_Examples_Thermostatic3WayValve_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Actuators_Valves_Simplified_Examples_Thermostatic3WayValve.fmu > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.pipe 2>&1) Environment - environmentSimulation: