Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.ConductorMultiLayer2,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",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.001383/0.001383, allocations: 108 kB / 15.61 MB, free: 152 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.001432/0.001432, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.237/1.237, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.049/2.049, allocations: 390.2 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001086/0.001086, allocations: 63.91 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5095/0.5106, allocations: 140.4 MB / 0.9497 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.003096/0.5137, allocations: 2.733 MB / 0.9524 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002829/0.5165, allocations: 2.781 MB / 0.9551 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.5167, allocations: 9.375 kB / 0.9551 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001125/0.5178, allocations: 0.4925 MB / 0.9556 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003498/0.5182, allocations: 255.1 kB / 0.9558 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006315/0.5188, allocations: 398.7 kB / 0.9562 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001187/0.52, allocations: 1.535 MB / 0.9577 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001773/0.5202, allocations: 135.3 kB / 0.9578 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004343/0.5207, allocations: 474.3 kB / 0.9583 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004283/0.5211, allocations: 417.9 kB / 0.9587 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.281e-05/0.5212, allocations: 48.03 kB / 0.9587 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.5213, allocations: 53.78 kB / 0.9588 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001973/0.5215, allocations: 258.3 kB / 0.959 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00028/0.5218, allocations: 376.4 kB / 0.9594 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005339/0.5223, allocations: 0.8983 MB / 0.9603 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.5224, allocations: 0 / 0.9603 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5224, allocations: 1.156 kB / 0.9603 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.5224, allocations: 0 / 0.9603 GB, free: 1.699 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001569/0.5239, allocations: 1.15 MB / 0.9614 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.524, allocations: 10.16 kB / 0.9614 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.136e-05/0.524, allocations: 63.84 kB / 0.9615 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.5242, allocations: 77.91 kB / 0.9615 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007259/0.5249, allocations: 0.6465 MB / 0.9622 GB, free: 240 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.5249, allocations: 27.25 kB / 0.9622 GB, free: 228 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.46e-05/0.525, allocations: 41.72 kB / 0.9622 GB, free: 212 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004929/0.5255, allocations: 380.5 kB / 0.9626 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.5255, allocations: 0 / 0.9626 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.66e-05/0.5255, allocations: 10.66 kB / 0.9626 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.5255, allocations: 5.469 kB / 0.9626 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003608/0.5259, allocations: 239.3 kB / 0.9628 GB, free: 15.83 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.003158/0.5291, allocations: 2.461 MB / 0.9652 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009207/0.53, allocations: 399 kB / 0.9656 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002088/0.5302, allocations: 142.5 kB / 0.9657 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.5303, allocations: 6.031 kB / 0.9658 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.5303, allocations: 31.69 kB / 0.9658 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 1.202e-06/0.5303, allocations: 1.188 kB / 0.9658 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.0008915/0.5312, allocations: 0.5238 MB / 0.9663 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.5312, allocations: 60.59 kB / 0.9664 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.5323, allocations: 0.9421 MB / 0.9673 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.5323, allocations: 32.05 kB / 0.9673 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000223/0.5326, allocations: 304.2 kB / 0.9676 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.262e-05/0.5326, allocations: 68.97 kB / 0.9677 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.5328, allocations: 118.8 kB / 0.9678 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.5329, allocations: 383.9 kB / 0.9681 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003253/0.5333, allocations: 240.6 kB / 0.9684 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004491/0.5337, allocations: 0.5001 MB / 0.9689 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007132/0.5345, allocations: 0.6975 MB / 0.9695 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.5345, allocations: 2.531 kB / 0.9695 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001069/0.5355, allocations: 0.8133 MB / 0.9703 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.5356, allocations: 11 kB / 0.9703 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.5356, allocations: 8.5 kB / 0.9704 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001754/0.5358, allocations: 60.91 kB / 0.9704 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004177/0.5362, allocations: 142.7 kB / 0.9706 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009779/0.5372, allocations: 1.539 MB / 0.9721 GB, free: 8.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005901/0.5378, allocations: 125.3 kB / 0.9722 GB, free: 8.445 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.5378, allocations: 27.28 kB / 0.9722 GB, free: 8.441 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002864/0.5381, allocations: 336.7 kB / 0.9725 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.173e-05/0.5382, allocations: 70.3 kB / 0.9726 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.484e-05/0.5383, allocations: 66.78 kB / 0.9727 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.5383, allocations: 6.375 kB / 0.9727 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.5383, allocations: 1.406 kB / 0.9727 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.5383, allocations: 0 / 0.9727 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005583/0.5389, allocations: 0.5714 MB / 0.9732 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.5389, allocations: 3.938 kB / 0.9732 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002393/0.5392, allocations: 54.28 kB / 0.9733 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001038/0.5393, allocations: 41.25 kB / 0.9733 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.494e-05/0.5393, allocations: 11.78 kB / 0.9733 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009297/0.5402, allocations: 1.532 MB / 0.9748 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.5403, allocations: 1.094 kB / 0.9748 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006777/0.5409, allocations: 0.5642 MB / 0.9754 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002201/0.5412, allocations: 196.8 kB / 0.9756 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.77e-05/0.5413, allocations: 12.11 kB / 0.9756 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003595/0.5416, allocations: 49.95 kB / 0.9756 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.022e-05/0.5417, allocations: 13.52 kB / 0.9756 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.5417, allocations: 2.531 kB / 0.9756 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007445/0.5424, allocations: 0.6641 MB / 0.9763 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5425, allocations: 0 / 0.9763 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005919/0.543, allocations: 182.4 kB / 0.9765 GB, free: 5.102 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0009221/0.544, allocations: 1.126 MB / 0.9776 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007984/0.5448, allocations: 0.5989 MB / 0.9781 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.5448, allocations: 0 / 0.9781 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002813/0.5451, allocations: 251 kB / 0.9784 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007595/0.5459, allocations: 173.1 kB / 0.9785 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007208/0.5531, allocations: 7.033 MB / 0.9854 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004915/0.5536, allocations: 1.01 MB / 0.9864 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003609/0.5539, allocations: 188.4 kB / 0.9866 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002599/0.5542, allocations: 199.4 kB / 0.9868 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of SimCode: time 2.9e-07/0.5542, allocations: 0 / 0.9868 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.067/2.621, allocations: 14.03 MB / 1 GB, free: 12.57 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/12.84, allocations: 3.938 kB / 1 GB, free: 12.57 MB / 0.7637 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer2.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1)