Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.779/2.779, allocations: 287.3 MB / 302.3 MB, free: 8.207 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.001572/0.001572, allocations: 195.7 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.172/2.172, allocations: 205.4 MB / 0.6295 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001173/0.001173, allocations: 97.83 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005059/0.0005061, allocations: 16.47 kB / 0.8657 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.269, allocations: 115.3 MB / 0.9783 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.008298/0.2774, allocations: 3.291 MB / 0.9815 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005353/0.2828, allocations: 1.245 MB / 0.9827 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009028/0.2838, allocations: 15.94 kB / 0.9827 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002259/0.284, allocations: 59.3 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001055/0.2851, allocations: 147.4 kB / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00169/0.2868, allocations: 219.7 kB / 0.9831 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002037/0.2889, allocations: 0.5497 MB / 0.9837 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00188/0.2908, allocations: 375.6 kB / 0.984 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004931/0.2913, allocations: 226.8 kB / 0.9842 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005157/0.2919, allocations: 278.3 kB / 0.9845 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001361/0.292, allocations: 24 kB / 0.9845 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.2922, allocations: 24 kB / 0.9845 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001787/0.2924, allocations: 115.4 kB / 0.9847 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002274/0.2926, allocations: 161.3 kB / 0.9848 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002558/0.2952, allocations: 1.021 MB / 0.9858 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2952, allocations: 0 / 0.9858 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.747e-06/0.2952, allocations: 0 / 0.9858 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.702e-05/0.2953, allocations: 0 / 0.9858 GB, free: 20.57 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.005322/0.3006, allocations: 1.173 MB / 0.987 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.602e-05/0.3007, allocations: 16.02 kB / 0.987 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003719/0.3011, allocations: 114.5 kB / 0.9871 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008226/0.302, allocations: 98.83 kB / 0.9872 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00216/0.3042, allocations: 0.5552 MB / 0.9877 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.3043, allocations: 58 kB / 0.9878 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002202/0.3046, allocations: 72 kB / 0.9878 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002995/0.3076, allocations: 0.8462 MB / 0.9887 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.431e-05/0.3077, allocations: 0 / 0.9887 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.3078, allocations: 31.98 kB / 0.9887 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.3078, allocations: 24 kB / 0.9887 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003035/0.3109, allocations: 0.7495 MB / 0.9894 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005245/0.3161, allocations: 2.528 MB / 0.9919 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003404/0.3196, allocations: 0.8221 MB / 0.9927 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.282e-05/0.3197, allocations: 8.375 kB / 0.9927 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001581/0.3213, allocations: 414.1 kB / 0.9931 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=51): time 4.468e-06/0.3213, allocations: 0 / 0.9931 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=51): time 0.004198/0.3256, allocations: 0.9784 MB / 0.9941 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.509e-05/0.3257, allocations: 140.9 kB / 0.9942 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.3268, allocations: 0.6057 MB / 0.9948 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001358/0.3269, allocations: 41.69 kB / 0.9948 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003486/0.3273, allocations: 380.1 kB / 0.9952 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000173/0.3275, allocations: 169.5 kB / 0.9954 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.774e-05/0.3276, allocations: 12 kB / 0.9954 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.3277, allocations: 382.7 kB / 0.9957 GB, free: 10.08 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/0.3291, allocations: 309 kB / 0.996 GB, free: 9.781 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001449/0.3306, allocations: 453.1 kB / 0.9965 GB, free: 9.285 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/0.332, allocations: 389.4 kB / 0.9968 GB, free: 8.895 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.332, allocations: 0 / 0.9968 GB, free: 8.895 MB / 0.6198 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003161/0.3352, allocations: 0.8842 MB / 0.9977 GB, free: 7.992 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002485/0.3355, allocations: 0.939 MB / 0.9986 GB, free: 6.977 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.3355, allocations: 0 / 0.9986 GB, free: 6.977 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.348e-05/0.3356, allocations: 8 kB / 0.9986 GB, free: 6.969 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.3367, allocations: 159.8 kB / 0.9988 GB, free: 6.812 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.436e-05/0.3367, allocations: 8 kB / 0.9988 GB, free: 6.805 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.3378, allocations: 155.2 kB / 0.9989 GB, free: 6.652 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.066e-05/0.3379, allocations: 23.98 kB / 0.999 GB, free: 6.629 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.3379, allocations: 4 kB / 0.999 GB, free: 6.625 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002319/0.3403, allocations: 0.692 MB / 0.9996 GB, free: 5.918 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.3403, allocations: 4 kB / 0.9996 GB, free: 5.914 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.3403, allocations: 8 kB / 0.9997 GB, free: 5.906 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009179/0.3412, allocations: 127.9 kB / 0.9998 GB, free: 5.781 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.3413, allocations: 11.94 kB / 0.9998 GB, free: 5.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008999/0.3422, allocations: 127.2 kB / 0.9999 GB, free: 5.645 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.673e-05/0.3422, allocations: 27.95 kB / 0.9999 GB, free: 5.617 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 13 (conMix.conFloRat.con1.y,conMix.conCoo.con1.y,conMix.conHea.con1.y,$whenCondition2,$whenCondition1,$PRE.TRoo.T_start,TRoo.T_start,$PRE.TRoo.count,TRoo.count,$PRE.m_flow.T_start,m_flow.T_start,$PRE.m_flow.count,m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 2 * 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.0005011/0.3428, allocations: 303.4 kB / 1 GB, free: 5.312 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.3429, allocations: 67.16 kB / 1 GB, free: 5.246 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002831/0.3457, allocations: 0.7295 MB / 1.001 GB, free: 4.504 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.3458, allocations: 12 kB / 1.001 GB, free: 4.492 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.3458, allocations: 0 / 1.001 GB, free: 4.492 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.3458, allocations: 3.984 kB / 1.001 GB, free: 4.488 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009916/0.3468, allocations: 0.7237 MB / 1.002 GB, free: 3.715 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.3468, allocations: 4 kB / 1.002 GB, free: 3.711 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/0.3479, allocations: 139.8 kB / 1.002 GB, free: 3.574 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.016e-06/0.3479, allocations: 7.875 kB / 1.002 GB, free: 3.566 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.263e-05/0.348, allocations: 15.98 kB / 1.002 GB, free: 3.551 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/0.348, allocations: 4 kB / 1.002 GB, free: 3.547 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.348, allocations: 0 / 1.002 GB, free: 3.547 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004152/0.3522, allocations: 1.101 MB / 1.003 GB, free: 2.426 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001786/0.3524, allocations: 156.2 kB / 1.003 GB, free: 2.254 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/0.3525, allocations: 12 kB / 1.003 GB, free: 2.242 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008306/0.3534, allocations: 87.92 kB / 1.003 GB, free: 2.156 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001816/0.3536, allocations: 44.36 kB / 1.003 GB, free: 2.113 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.177e-05/0.3536, allocations: 19.98 kB / 1.003 GB, free: 2.094 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007046/0.3543, allocations: 435.1 kB / 1.004 GB, free: 1.672 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.3544, allocations: 0 / 1.004 GB, free: 1.672 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009959/0.3554, allocations: 262.9 kB / 1.004 GB, free: 1.414 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (conMix.conHea.I.y,conMix.conCoo.I.y,conMix.conFloRat.I.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,TRoo.T_start,TRoo.count,m_flow.T_start,m_flow.count) * Number of discrete states: 2 (m_flow.count,TRoo.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.004575/0.3599, allocations: 1.673 MB / 1.006 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004595/0.3646, allocations: 1.249 MB / 1.007 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.3646, allocations: 0 / 1.007 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001537/0.3662, allocations: 346.9 kB / 1.007 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009589/0.3672, allocations: 112.2 kB / 1.007 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01478/0.382, allocations: 5.695 MB / 1.013 GB, free: 8.176 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007507/0.3828, allocations: 0.9378 MB / 1.014 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006725/0.3835, allocations: 72.91 kB / 1.014 GB, free: 7.137 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007005/0.3842, allocations: 279.3 kB / 1.014 GB, free: 6.863 MB / 0.6355 GB Notification: Performance of SimCode: time 1.173e-06/0.3842, allocations: 0 / 1.014 GB, free: 6.863 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05445/0.4386, allocations: 13.15 MB / 1.027 GB, free: 9.934 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003379/0.439, allocations: 198.4 kB / 1.027 GB, free: 9.695 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.191/3.63, allocations: 3.938 kB / 1.027 GB, free: 9.691 MB / 0.6511 GB (rm -f Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox.fmu > Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1)