Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl,fileNamePrefix="Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Controls_Validation_MixingValveControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl,fileNamePrefix="Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Controls_Validation_MixingValveControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.441/2.441, allocations: 387.1 MB / 399.7 MB, free: 9.496 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 176.9 kB / 492.3 MB, free: 0.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.813/1.813, allocations: 221.3 MB / 0.7871 GB, free: 12.9 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009161/0.0009161, allocations: 87.94 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.054e-05/3.071e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3591, allocations: 142.3 MB / 1.213 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.493/1.852, allocations: 480.1 MB / 1.681 GB, free: 15.23 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/1.853, allocations: 112.4 kB / 1.681 GB, free: 15.16 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 7.19/9.043, allocations: 1.58 GB / 3.262 GB, free: 144.6 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.284e-06/9.043, allocations: 0 / 3.262 GB, free: 144.6 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0009608/9.044, allocations: 110.9 kB / 3.262 GB, free: 144.5 MB / 1.198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 619 * Number of variables: 619 Notification: Performance of Generate backend data structure: time 0.01386/9.058, allocations: 3.784 MB / 3.265 GB, free: 142.9 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 6.26e-05/9.058, allocations: 12.28 kB / 3.265 GB, free: 142.9 MB / 1.198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001847/9.06, allocations: 340.3 kB / 3.266 GB, free: 142.9 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004963/9.065, allocations: 0.6344 MB / 3.266 GB, free: 142.6 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03019/9.095, allocations: 11.59 MB / 3.278 GB, free: 141.7 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003583/9.096, allocations: 209.4 kB / 3.278 GB, free: 141.7 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001418/9.097, allocations: 271.6 kB / 3.278 GB, free: 141.7 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009009/9.106, allocations: 2.657 MB / 3.281 GB, free: 141.3 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001573/9.106, allocations: 6.719 kB / 3.281 GB, free: 141.3 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000771/9.107, allocations: 114.8 kB / 3.281 GB, free: 141.3 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001267/9.107, allocations: 93.08 kB / 3.281 GB, free: 141.2 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005114/9.112, allocations: 1.863 MB / 3.283 GB, free: 141.2 MB / 1.198 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.02168/9.134, allocations: 14.35 MB / 3.297 GB, free: 134.2 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002314/9.136, allocations: 1.457 MB / 3.298 GB, free: 133.9 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000961/9.137, allocations: 0.6689 MB / 3.299 GB, free: 133.9 MB / 1.198 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 evalFunc (simulation): time 0.008565/9.146, allocations: 5.179 MB / 3.304 GB, free: 130.8 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001161/9.147, allocations: 0.7832 MB / 3.305 GB, free: 130.7 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002064/9.149, allocations: 215.3 kB / 3.305 GB, free: 130.7 MB / 1.198 GB Notification: Performance of pre-optimization done (n=125): time 5.751e-06/9.149, allocations: 0 / 3.305 GB, free: 130.7 MB / 1.198 GB Notification: Performance of matching and sorting (n=125): time 0.003098/9.152, allocations: 1.416 MB / 3.306 GB, free: 130.4 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.889e-05/9.152, allocations: 147.2 kB / 3.306 GB, free: 130.3 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005475/9.158, allocations: 2.708 MB / 3.309 GB, free: 130 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0004631/9.158, allocations: 74.8 kB / 3.309 GB, free: 130 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001896/9.16, allocations: 1.712 MB / 3.311 GB, free: 129.5 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004684/9.161, allocations: 427.5 kB / 3.311 GB, free: 129.2 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/9.161, allocations: 42.45 kB / 3.311 GB, free: 129.2 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0001335/9.161, allocations: 366.9 kB / 3.312 GB, free: 128.9 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/9.162, allocations: 0.5803 MB / 3.312 GB, free: 128.9 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/9.163, allocations: 1.304 MB / 3.313 GB, free: 128.1 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/9.165, allocations: 0.8331 MB / 3.314 GB, free: 128 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/9.165, allocations: 3.906 kB / 3.314 GB, free: 128 MB / 1.198 GB Notification: Performance of matching and sorting (n=228) (initialization): time 0.00407/9.169, allocations: 2.213 MB / 3.316 GB, free: 127.7 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.002004/9.171, allocations: 7.377 MB / 3.324 GB, free: 120 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.579e-05/9.171, allocations: 18.38 kB / 3.324 GB, free: 120 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002575/9.171, allocations: 68.67 kB / 3.324 GB, free: 120 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00169/9.173, allocations: 405.7 kB / 3.324 GB, free: 120 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001982/9.175, allocations: 2.25 MB / 3.326 GB, free: 118 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00353/9.178, allocations: 317.4 kB / 3.327 GB, free: 118 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002512/9.179, allocations: 118.7 kB / 3.327 GB, free: 118 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/9.179, allocations: 3.875 kB / 3.327 GB, free: 118 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003158/9.182, allocations: 1.917 MB / 3.329 GB, free: 117.9 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/9.182, allocations: 15.38 kB / 3.329 GB, free: 117.9 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001357/9.182, allocations: 67.95 kB / 3.329 GB, free: 117.9 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/9.183, allocations: 399.3 kB / 3.329 GB, free: 117.9 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/9.185, allocations: 1.61 MB / 3.331 GB, free: 116.5 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003325/9.188, allocations: 302.3 kB / 3.331 GB, free: 116.5 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000217/9.188, allocations: 114.8 kB / 3.331 GB, free: 116.5 MB / 1.198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition5,disFlo.conVal.swi.u2,$PRE.disFlo.conVal.cha.u,disFlo.conVal.cha.u,disFlo.conVal.cha.y,disFlo.conVal.cha.up,disFlo.conVal.cha.down,$PRE.mSec_flow.booPul.y,mSec_flow.booPul.y,$PRE.modCha.y,modCha.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (217): * Single equations (assignments): 212 * Array equations: 1 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006087/9.189, allocations: 228.6 kB / 3.331 GB, free: 116.3 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001014/9.19, allocations: 337 kB / 3.331 GB, free: 116.2 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004324/9.194, allocations: 1.9 MB / 3.333 GB, free: 116 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.395e-05/9.194, allocations: 20.3 kB / 3.333 GB, free: 116 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/9.194, allocations: 3.469 kB / 3.333 GB, free: 116 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001929/9.196, allocations: 1.359 MB / 3.335 GB, free: 115.7 MB / 1.198 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 postOpt removeSimpleEquations (simulation): time 0.01147/9.208, allocations: 4.933 MB / 3.339 GB, free: 114.9 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.688e-05/9.208, allocations: 3.344 kB / 3.339 GB, free: 114.9 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/9.209, allocations: 253 kB / 3.34 GB, free: 114.9 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001548/9.209, allocations: 46.14 kB / 3.34 GB, free: 114.9 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001236/9.209, allocations: 47.08 kB / 3.34 GB, free: 114.9 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001626/9.211, allocations: 2.202 MB / 3.342 GB, free: 112.9 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/9.211, allocations: 9.094 kB / 3.342 GB, free: 112.9 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004791/9.216, allocations: 3.048 MB / 3.345 GB, free: 111.9 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002564/9.218, allocations: 0.624 MB / 3.346 GB, free: 111.7 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001235/9.219, allocations: 35.3 kB / 3.346 GB, free: 111.7 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002941/9.222, allocations: 179.1 kB / 3.346 GB, free: 111.6 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002294/9.223, allocations: 104.5 kB / 3.346 GB, free: 111.6 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002037/9.223, allocations: 67.78 kB / 3.346 GB, free: 111.6 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.00527/9.228, allocations: 2.063 MB / 3.348 GB, free: 111.5 MB / 1.198 GB Notification: Performance of sort global known variables: time 1.7e-07/9.228, allocations: 1.094 kB / 3.348 GB, free: 111.5 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.01203/9.24, allocations: 2.1 MB / 3.35 GB, free: 111.2 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 8 (disFlo.heaCoo.vol.dynBal.U,disFlo.senTSup.T,disFlo.val.vol.dynBal.U,disFlo.spl.vol.dynBal.U,disFlo.conVal.resConTSup.I.y,senTSecSup.T,senTSecRet.T,senTPriSup.T) * Number of discrete variables: 12 (disFlo.conVal.cha.y,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,disFlo.conVal.swi.u2,disFlo.conVal.cha.u,disFlo.conVal.cha.up,disFlo.conVal.cha.down,mSec_flow.booPul.y,modCha.y) * Number of discrete states: 1 (disFlo.conVal.cha.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (139): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01037/9.25, allocations: 6.405 MB / 3.356 GB, free: 108.5 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.006697/9.257, allocations: 3.188 MB / 3.359 GB, free: 107.9 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/9.257, allocations: 1.859 kB / 3.359 GB, free: 107.9 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.001455/9.259, allocations: 0.8317 MB / 3.36 GB, free: 107.7 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009504/9.268, allocations: 1.641 MB / 3.362 GB, free: 107.7 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01768/9.286, allocations: 5.772 MB / 3.367 GB, free: 106.1 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002735/9.289, allocations: 2.208 MB / 3.37 GB, free: 105.3 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.005333/9.294, allocations: 1.063 MB / 3.371 GB, free: 105.1 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001878/9.296, allocations: 1.466 MB / 3.372 GB, free: 105.1 MB / 1.198 GB Notification: Performance of SimCode: time 6.62e-07/9.296, allocations: 3.281 kB / 3.372 GB, free: 105.1 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2077/9.504, allocations: 120.5 MB / 3.49 GB, free: 44.8 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001911/9.504, allocations: 264 kB / 3.49 GB, free: 44.46 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.681/17.19, allocations: 0 / 3.49 GB, free: 44.46 MB / 1.198 GB (rm -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.pipe ; mkfifo Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.pipe ; head -c 1048576 < Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.pipe >> ../files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl_res.mat --tempDir=temp_Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Controls_Validation_MixingValveControl_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Controls_Validation_MixingValveControl.fmu > Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.pipe 2>&1)