Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_10_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.00132/0.00132, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001554/0.001554, allocations: 192.4 kB / 16.25 MB, free: 6.641 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.279/1.279, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.229/2.229, allocations: 437 MB / 0.7101 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 59.91 kB / 0.8689 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5122/0.5135, allocations: 151.6 MB / 1.017 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.003866/0.5174, allocations: 3.77 MB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002932/0.5203, allocations: 2.494 MB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001767/0.5205, allocations: 15.94 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005402/0.521, allocations: 222.7 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006813/0.5217, allocations: 466 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008276/0.5226, allocations: 495 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001063/0.5236, allocations: 1.39 MB / 1.026 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001918/0.5238, allocations: 145.1 kB / 1.026 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003887/0.5242, allocations: 430.4 kB / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005271/0.5248, allocations: 0.5449 MB / 1.027 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.342e-05/0.5249, allocations: 60 kB / 1.027 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.869e-05/0.525, allocations: 64 kB / 1.027 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002511/0.5252, allocations: 347 kB / 1.027 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003307/0.5256, allocations: 469.5 kB / 1.028 GB, free: 7.816 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006405/0.5262, allocations: 0.9225 MB / 1.028 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.5262, allocations: 0 / 1.028 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5262, allocations: 0 / 1.028 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.5262, allocations: 0 / 1.028 GB, free: 6.891 MB / 0.7794 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.00177/0.528, allocations: 1.269 MB / 1.03 GB, free: 5.57 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.897e-05/0.528, allocations: 8.031 kB / 1.03 GB, free: 5.562 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.837e-05/0.5281, allocations: 70.72 kB / 1.03 GB, free: 5.484 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.5282, allocations: 103.7 kB / 1.03 GB, free: 5.383 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007731/0.529, allocations: 0.6443 MB / 1.03 GB, free: 4.695 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.384e-05/0.529, allocations: 37.03 kB / 1.03 GB, free: 4.66 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.358e-05/0.5291, allocations: 76.02 kB / 1.031 GB, free: 4.586 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005167/0.5296, allocations: 410.9 kB / 1.031 GB, free: 4.148 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.5297, allocations: 7.922 kB / 1.031 GB, free: 4.141 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.609e-05/0.5297, allocations: 16 kB / 1.031 GB, free: 4.125 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/0.5297, allocations: 8 kB / 1.031 GB, free: 4.117 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003556/0.5301, allocations: 234.4 kB / 1.031 GB, free: 3.891 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002452/0.5325, allocations: 2.498 MB / 1.034 GB, free: 1.211 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/0.5338, allocations: 0.5462 MB / 1.034 GB, free: 0.6562 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002255/0.5341, allocations: 160.7 kB / 1.034 GB, free: 0.4961 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.5341, allocations: 8 kB / 1.034 GB, free: 500 kB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.5341, allocations: 38.55 kB / 1.034 GB, free: 452 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=30): time 1.233e-06/0.5341, allocations: 0 / 1.034 GB, free: 452 kB / 0.7794 GB Notification: Performance of matching and sorting (n=30): time 0.001369/0.5355, allocations: 0.8779 MB / 1.035 GB, free: 15.49 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.5355, allocations: 55.41 kB / 1.035 GB, free: 15.43 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009538/0.5365, allocations: 0.9347 MB / 1.036 GB, free: 14.48 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.165e-05/0.5365, allocations: 41.7 kB / 1.036 GB, free: 14.44 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002209/0.5368, allocations: 360.9 kB / 1.037 GB, free: 14.08 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.09e-05/0.5369, allocations: 122.2 kB / 1.037 GB, free: 13.96 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/0.537, allocations: 170.6 kB / 1.037 GB, free: 13.79 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.5372, allocations: 398.7 kB / 1.037 GB, free: 13.39 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003357/0.5375, allocations: 237.8 kB / 1.037 GB, free: 13.15 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005559/0.5381, allocations: 0.6427 MB / 1.038 GB, free: 12.32 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008687/0.539, allocations: 0.8988 MB / 1.039 GB, free: 11.22 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.539, allocations: 4 kB / 1.039 GB, free: 11.22 MB / 0.795 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001345/0.5403, allocations: 1.011 MB / 1.04 GB, free: 10.19 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.5404, allocations: 17.69 kB / 1.04 GB, free: 10.18 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.5404, allocations: 19.94 kB / 1.04 GB, free: 10.16 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003311/0.5407, allocations: 118.5 kB / 1.04 GB, free: 10.03 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005451/0.5413, allocations: 195.6 kB / 1.04 GB, free: 9.84 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002885/0.5442, allocations: 4.469 MB / 1.045 GB, free: 4.949 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007354/0.5449, allocations: 111 kB / 1.045 GB, free: 4.84 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.53e-05/0.545, allocations: 48.06 kB / 1.045 GB, free: 4.793 MB / 0.795 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.0002582/0.5452, allocations: 273.8 kB / 1.045 GB, free: 4.516 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.816e-05/0.5453, allocations: 82.91 kB / 1.045 GB, free: 4.434 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.5455, allocations: 80.53 kB / 1.045 GB, free: 4.355 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.5455, allocations: 4 kB / 1.045 GB, free: 4.352 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.5455, allocations: 0 / 1.045 GB, free: 4.352 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.5455, allocations: 4.172 kB / 1.045 GB, free: 4.348 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006493/0.5461, allocations: 0.6609 MB / 1.046 GB, free: 3.637 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.5462, allocations: 0 / 1.046 GB, free: 3.637 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003035/0.5465, allocations: 59.94 kB / 1.046 GB, free: 3.578 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002679/0.5467, allocations: 114.4 kB / 1.046 GB, free: 3.457 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.5468, allocations: 11.98 kB / 1.046 GB, free: 3.445 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002809/0.5496, allocations: 4.446 MB / 1.05 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5496, allocations: 0 / 1.05 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009594/0.5506, allocations: 0.7369 MB / 1.051 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002259/0.5508, allocations: 211.9 kB / 1.051 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.73e-05/0.5509, allocations: 8 kB / 1.051 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004305/0.5513, allocations: 23.97 kB / 1.051 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.915e-05/0.5514, allocations: 27.95 kB / 1.051 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.5514, allocations: 8 kB / 1.051 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0006877/0.5521, allocations: 0.62 MB / 1.052 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5521, allocations: 0 / 1.052 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0007089/0.5528, allocations: 271.8 kB / 1.052 GB, free: 12.64 MB / 0.8106 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.001216/0.5541, allocations: 1.3 MB / 1.054 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001209/0.5553, allocations: 0.9594 MB / 1.054 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.5553, allocations: 0 / 1.054 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005421/0.5558, allocations: 0.5238 MB / 1.055 GB, free: 9.746 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007625/0.5566, allocations: 183.2 kB / 1.055 GB, free: 9.57 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009368/0.566, allocations: 8.334 MB / 1.063 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004777/0.5665, allocations: 0.9956 MB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003453/0.5668, allocations: 145.9 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003243/0.5672, allocations: 275.3 kB / 1.065 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.5672, allocations: 4 kB / 1.065 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.7/2.267, allocations: 16.94 MB / 1.081 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002483/2.267, allocations: 233 kB / 1.081 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.394/4.661, allocations: 0 / 1.081 GB, free: 14.29 MB / 0.8419 GB (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1)