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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001369/0.001369, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.258/1.258, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.185/2.185, allocations: 390.2 MB / 0.6647 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 63.89 kB / 0.8126 GB, free: 14.44 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5171/0.5185, allocations: 140.4 MB / 0.9497 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.003612/0.5221, allocations: 3.727 MB / 0.9533 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002741/0.5249, allocations: 2.51 MB / 0.9558 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001998/0.5251, allocations: 17.31 kB / 0.9558 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005443/0.5256, allocations: 246.8 kB / 0.956 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006478/0.5263, allocations: 0.5013 MB / 0.9565 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008214/0.5271, allocations: 0.5287 MB / 0.9571 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000925/0.5281, allocations: 1.383 MB / 0.9584 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.5283, allocations: 148.6 kB / 0.9585 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003683/0.5286, allocations: 433.6 kB / 0.959 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004937/0.5291, allocations: 0.509 MB / 0.9595 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.511e-05/0.5292, allocations: 57.53 kB / 0.9595 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001335/0.5294, allocations: 63.53 kB / 0.9596 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002391/0.5296, allocations: 335.4 kB / 0.9599 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003273/0.53, allocations: 469.1 kB / 0.9603 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000576/0.5305, allocations: 0.9232 MB / 0.9612 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.5306, allocations: 0 / 0.9612 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5306, allocations: 4 kB / 0.9612 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.5306, allocations: 0 / 0.9612 GB, free: 0.7344 MB / 0.7169 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.00181/0.5324, allocations: 1.27 MB / 0.9625 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.5324, allocations: 9.125 kB / 0.9625 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.06e-05/0.5325, allocations: 74.28 kB / 0.9626 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.5326, allocations: 101.7 kB / 0.9627 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008462/0.5335, allocations: 0.642 MB / 0.9633 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.101e-05/0.5335, allocations: 42.25 kB / 0.9633 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.097e-05/0.5336, allocations: 68.61 kB / 0.9634 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005322/0.5342, allocations: 408.3 kB / 0.9638 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.5342, allocations: 4.688 kB / 0.9638 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.006e-05/0.5342, allocations: 15.19 kB / 0.9638 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.138e-06/0.5342, allocations: 8.719 kB / 0.9638 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003792/0.5346, allocations: 233.6 kB / 0.964 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002607/0.5372, allocations: 2.503 MB / 0.9665 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/0.5386, allocations: 0.5525 MB / 0.967 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002359/0.5388, allocations: 159.7 kB / 0.9672 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.5388, allocations: 7.219 kB / 0.9672 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.5389, allocations: 36.75 kB / 0.9672 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.443e-06/0.5389, allocations: 7.938 kB / 0.9672 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.001424/0.5403, allocations: 0.8818 MB / 0.9681 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.5404, allocations: 59.33 kB / 0.9681 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.5414, allocations: 0.9253 MB / 0.969 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.891e-05/0.5414, allocations: 41.17 kB / 0.9691 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000238/0.5417, allocations: 362.2 kB / 0.9694 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.634e-05/0.5418, allocations: 122.2 kB / 0.9695 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001881/0.542, allocations: 167.4 kB / 0.9697 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.5421, allocations: 392.5 kB / 0.9701 GB, free: 9.938 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003621/0.5425, allocations: 244.2 kB / 0.9703 GB, free: 9.824 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005603/0.5431, allocations: 0.6395 MB / 0.9709 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009186/0.544, allocations: 0.8939 MB / 0.9718 GB, free: 8.344 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/0.544, allocations: 5.031 kB / 0.9718 GB, free: 8.344 MB / 0.7325 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001435/0.5454, allocations: 1.014 MB / 0.9728 GB, free: 7.809 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.5455, allocations: 11.59 kB / 0.9728 GB, free: 7.809 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.5455, allocations: 17.91 kB / 0.9728 GB, free: 7.805 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003447/0.5458, allocations: 126.1 kB / 0.9729 GB, free: 7.738 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005612/0.5464, allocations: 186.1 kB / 0.9731 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002848/0.5493, allocations: 4.477 MB / 0.9775 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007952/0.5501, allocations: 113.3 kB / 0.9776 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.645e-05/0.5501, allocations: 40.53 kB / 0.9776 GB, free: 3.109 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.0002637/0.5504, allocations: 278 kB / 0.9779 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.5505, allocations: 82.69 kB / 0.978 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.5506, allocations: 74.84 kB / 0.9781 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.5506, allocations: 3.75 kB / 0.9781 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.495e-06/0.5507, allocations: 1.25 kB / 0.9781 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.5507, allocations: 5.328 kB / 0.9781 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006459/0.5513, allocations: 0.6551 MB / 0.9787 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.5513, allocations: 0 / 0.9787 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003134/0.5516, allocations: 65.28 kB / 0.9788 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002705/0.5519, allocations: 107 kB / 0.9789 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.822e-05/0.552, allocations: 11.02 kB / 0.9789 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002715/0.5547, allocations: 4.46 MB / 0.9832 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5547, allocations: 1.438 kB / 0.9832 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009657/0.5557, allocations: 0.7439 MB / 0.984 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002337/0.5559, allocations: 203.9 kB / 0.9842 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.076e-05/0.556, allocations: 12 kB / 0.9842 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004342/0.5565, allocations: 23.97 kB / 0.9842 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.856e-05/0.5565, allocations: 19.97 kB / 0.9842 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.5565, allocations: 11.98 kB / 0.9842 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007047/0.5572, allocations: 0.62 MB / 0.9848 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5573, allocations: 0 / 0.9848 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007564/0.558, allocations: 267.8 kB / 0.9851 GB, free: 11.8 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.001178/0.5592, allocations: 1.292 MB / 0.9863 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001257/0.5605, allocations: 0.9589 MB / 0.9873 GB, free: 9.473 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5605, allocations: 0 / 0.9873 GB, free: 9.473 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005422/0.561, allocations: 0.5356 MB / 0.9878 GB, free: 8.898 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007736/0.5618, allocations: 173.5 kB / 0.988 GB, free: 8.73 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008869/0.5707, allocations: 8.12 MB / 0.9959 GB, free: 40 kB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005632/0.5713, allocations: 0.9995 MB / 0.9969 GB, free: 15.01 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0003857/0.5717, allocations: 153.8 kB / 0.997 GB, free: 14.86 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003239/0.572, allocations: 279.3 kB / 0.9973 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of SimCode: time 9.02e-07/0.572, allocations: 4 kB / 0.9973 GB, free: 14.58 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.342/2.914, allocations: 17.05 MB / 1.014 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.61/17.53, allocations: 11.83 kB / 1.014 GB, free: 13.75 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)