Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",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.0008588/0.0008588, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005085/0.005085, allocations: 174.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.184/1.184, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.058/2.058, allocations: 390.9 MB / 0.6664 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002754/0.0002753, allocations: 11.98 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4995/0.4998, allocations: 142.4 MB / 0.9552 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.002413/0.5022, allocations: 3.384 MB / 0.9585 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002531/0.5048, allocations: 2.497 MB / 0.9609 GB, free: 3 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001792/0.505, allocations: 14.75 kB / 0.9609 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004657/0.5054, allocations: 222.1 kB / 0.9611 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005851/0.506, allocations: 467.2 kB / 0.9616 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006746/0.5067, allocations: 471.4 kB / 0.962 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001064/0.5078, allocations: 1.624 MB / 0.9636 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.508, allocations: 128.8 kB / 0.9637 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003388/0.5083, allocations: 376.1 kB / 0.9641 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004586/0.5088, allocations: 0.5112 MB / 0.9646 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.768e-05/0.5089, allocations: 32.22 kB / 0.9646 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.231e-05/0.509, allocations: 34.5 kB / 0.9646 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001993/0.5092, allocations: 308.6 kB / 0.9649 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002909/0.5095, allocations: 461 kB / 0.9654 GB, free: 196 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006237/0.5101, allocations: 0.8844 MB / 0.9662 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.5101, allocations: 1.469 kB / 0.9662 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5101, allocations: 4 kB / 0.9663 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.5101, allocations: 0 / 0.9663 GB, free: 15.59 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001693/0.5118, allocations: 1.138 MB / 0.9674 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.5119, allocations: 10.34 kB / 0.9674 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.208e-05/0.5119, allocations: 72.84 kB / 0.9674 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.5121, allocations: 102.6 kB / 0.9675 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008001/0.5129, allocations: 0.6541 MB / 0.9682 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.711e-05/0.5129, allocations: 37.41 kB / 0.9682 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.806e-05/0.513, allocations: 61.84 kB / 0.9683 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005272/0.5135, allocations: 414 kB / 0.9687 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.5135, allocations: 4 kB / 0.9687 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.652e-05/0.5136, allocations: 16.25 kB / 0.9687 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.5136, allocations: 8.688 kB / 0.9687 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003597/0.514, allocations: 239.9 kB / 0.9689 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002475/0.5164, allocations: 2.525 MB / 0.9714 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/0.5177, allocations: 0.5507 MB / 0.9719 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002205/0.5179, allocations: 157.7 kB / 0.9721 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.5179, allocations: 7.594 kB / 0.9721 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.518, allocations: 39.8 kB / 0.9721 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.252e-06/0.518, allocations: 1.219 kB / 0.9721 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.001351/0.5193, allocations: 0.8942 MB / 0.973 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.5194, allocations: 58.59 kB / 0.9731 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/0.5204, allocations: 0.9305 MB / 0.974 GB, free: 9.812 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.773e-05/0.5204, allocations: 40.73 kB / 0.974 GB, free: 9.77 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002389/0.5207, allocations: 362.6 kB / 0.9743 GB, free: 9.453 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.685e-05/0.5208, allocations: 113.8 kB / 0.9745 GB, free: 9.355 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.149e-05/0.5209, allocations: 95.25 kB / 0.9745 GB, free: 9.293 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.521, allocations: 397.2 kB / 0.9749 GB, free: 8.918 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003333/0.5214, allocations: 250 kB / 0.9752 GB, free: 8.805 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005505/0.5219, allocations: 0.6374 MB / 0.9758 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008819/0.5228, allocations: 0.893 MB / 0.9767 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.5228, allocations: 4.25 kB / 0.9767 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001357/0.5242, allocations: 1.023 MB / 0.9777 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.5242, allocations: 11.94 kB / 0.9777 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/0.5243, allocations: 18.72 kB / 0.9777 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003168/0.5246, allocations: 121.2 kB / 0.9778 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005294/0.5251, allocations: 191.4 kB / 0.978 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002566/0.5277, allocations: 4.166 MB / 0.9821 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007396/0.5284, allocations: 111 kB / 0.9822 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.641e-05/0.5285, allocations: 44 kB / 0.9822 GB, free: 2.297 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002515/0.5288, allocations: 273.4 kB / 0.9825 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.818e-05/0.5289, allocations: 86.88 kB / 0.9825 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.529, allocations: 76.53 kB / 0.9826 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.529, allocations: 7.938 kB / 0.9826 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.529, allocations: 0 / 0.9826 GB, free: 1.852 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.529, allocations: 11.92 kB / 0.9826 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006098/0.5296, allocations: 0.6453 MB / 0.9833 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.5296, allocations: 0 / 0.9833 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002804/0.5299, allocations: 63.94 kB / 0.9833 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002496/0.5302, allocations: 110.4 kB / 0.9834 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/0.5302, allocations: 15.98 kB / 0.9835 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002479/0.5327, allocations: 4.138 MB / 0.9875 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5327, allocations: 0 / 0.9875 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000898/0.5336, allocations: 0.7447 MB / 0.9882 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002154/0.5338, allocations: 207.9 kB / 0.9884 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.831e-05/0.5339, allocations: 11.98 kB / 0.9884 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004191/0.5343, allocations: 27.88 kB / 0.9885 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.646e-05/0.5344, allocations: 23.91 kB / 0.9885 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.5344, allocations: 12 kB / 0.9885 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006624/0.5351, allocations: 0.6239 MB / 0.9891 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5351, allocations: 0 / 0.9891 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006742/0.5358, allocations: 267.8 kB / 0.9894 GB, free: 10.46 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * 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 (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001135/0.5369, allocations: 1.301 MB / 0.9906 GB, free: 9.129 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001073/0.538, allocations: 0.9279 MB / 0.9915 GB, free: 8.164 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.538, allocations: 0 / 0.9915 GB, free: 8.164 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005084/0.5385, allocations: 0.5278 MB / 0.992 GB, free: 7.598 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000734/0.5393, allocations: 160.2 kB / 0.9922 GB, free: 7.441 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009036/0.5483, allocations: 8.49 MB / 1 GB, free: 14.37 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004673/0.5488, allocations: 0.9917 MB / 1.001 GB, free: 13.35 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0003161/0.5491, allocations: 145.9 kB / 1.002 GB, free: 13.21 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000304/0.5494, allocations: 279.3 kB / 1.002 GB, free: 12.93 MB / 0.7637 GB Notification: Performance of SimCode: time 1.383e-06/0.5494, allocations: 0 / 1.002 GB, free: 12.93 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.25/1.8, allocations: 16.26 MB / 1.018 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00027/1.8, allocations: 225.6 kB / 1.018 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.103/3.903, allocations: 4.062 kB / 1.018 GB, free: 12.69 MB / 0.7794 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1)