Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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.ConductorMultiLayer3,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",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.001504/0.001504, 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.001699/0.001699, allocations: 192 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.328/1.328, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.29/2.29, allocations: 437 MB / 0.7101 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 63.89 kB / 0.8688 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5092/0.5107, allocations: 151.6 MB / 1.017 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.00403/0.5147, allocations: 2.785 MB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003607/0.5184, allocations: 2.764 MB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002955/0.5187, allocations: 7.938 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001348/0.5201, allocations: 458.4 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005801/0.5207, allocations: 247 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008431/0.5215, allocations: 367.3 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001557/0.5231, allocations: 1.558 MB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002104/0.5233, allocations: 136.3 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006273/0.5239, allocations: 494.7 kB / 1.025 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005624/0.5245, allocations: 434.6 kB / 1.026 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.84e-05/0.5246, allocations: 48 kB / 1.026 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.5247, allocations: 52 kB / 1.026 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002292/0.525, allocations: 271.2 kB / 1.026 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003635/0.5253, allocations: 374.2 kB / 1.027 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007353/0.5261, allocations: 0.8996 MB / 1.027 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.5261, allocations: 0 / 1.027 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5261, allocations: 0 / 1.027 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.664e-05/0.5261, allocations: 0 / 1.027 GB, free: 7.84 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001862/0.528, allocations: 1.148 MB / 1.029 GB, free: 6.641 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.528, allocations: 8.031 kB / 1.029 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.371e-05/0.5281, allocations: 66.72 kB / 1.029 GB, free: 6.559 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.5282, allocations: 80 kB / 1.029 GB, free: 6.48 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008159/0.529, allocations: 0.6448 MB / 1.029 GB, free: 5.793 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.5291, allocations: 28.94 kB / 1.029 GB, free: 5.766 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.85e-05/0.5291, allocations: 36.38 kB / 1.029 GB, free: 5.73 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005049/0.5296, allocations: 378.6 kB / 1.03 GB, free: 5.34 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.5297, allocations: 4 kB / 1.03 GB, free: 5.336 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/0.5297, allocations: 8 kB / 1.03 GB, free: 5.328 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.5297, allocations: 11.98 kB / 1.03 GB, free: 5.316 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003531/0.5301, allocations: 237.4 kB / 1.03 GB, free: 5.086 MB / 0.7794 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.00332/0.5334, allocations: 2.451 MB / 1.032 GB, free: 2.445 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009446/0.5343, allocations: 406.5 kB / 1.033 GB, free: 2.039 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001948/0.5346, allocations: 132.8 kB / 1.033 GB, free: 1.906 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.5346, allocations: 0 / 1.033 GB, free: 1.906 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.5346, allocations: 42.5 kB / 1.033 GB, free: 1.855 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.052e-06/0.5346, allocations: 0 / 1.033 GB, free: 1.855 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0008487/0.5355, allocations: 0.5322 MB / 1.034 GB, free: 1.297 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.5355, allocations: 55.41 kB / 1.034 GB, free: 1.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.5366, allocations: 0.9337 MB / 1.034 GB, free: 296 kB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/0.5366, allocations: 33.7 kB / 1.035 GB, free: 256 kB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002383/0.5369, allocations: 304.6 kB / 1.035 GB, free: 15.95 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 6.9e-05/0.5369, allocations: 75.03 kB / 1.035 GB, free: 15.87 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/0.5371, allocations: 126.2 kB / 1.035 GB, free: 15.74 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.5373, allocations: 390.6 kB / 1.035 GB, free: 15.35 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003198/0.5376, allocations: 236.9 kB / 1.036 GB, free: 15.12 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004677/0.5381, allocations: 0.4975 MB / 1.036 GB, free: 14.49 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007533/0.5388, allocations: 0.6999 MB / 1.037 GB, free: 13.66 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/0.5389, allocations: 4 kB / 1.037 GB, free: 13.66 MB / 0.795 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001106/0.54, allocations: 0.81 MB / 1.038 GB, free: 12.84 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.54, allocations: 8 kB / 1.038 GB, free: 12.83 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.54, allocations: 16.09 kB / 1.038 GB, free: 12.82 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001884/0.5402, allocations: 52.81 kB / 1.038 GB, free: 12.76 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004267/0.5406, allocations: 139.7 kB / 1.038 GB, free: 12.62 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/0.5417, allocations: 1.538 MB / 1.039 GB, free: 10.95 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006204/0.5423, allocations: 139.4 kB / 1.039 GB, free: 10.81 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-05/0.5424, allocations: 27.94 kB / 1.039 GB, free: 10.79 MB / 0.795 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.0002884/0.5427, allocations: 342.7 kB / 1.04 GB, free: 10.44 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.273e-05/0.5428, allocations: 67.09 kB / 1.04 GB, free: 10.38 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.053e-05/0.5428, allocations: 70 kB / 1.04 GB, free: 10.3 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.5429, allocations: 4 kB / 1.04 GB, free: 10.29 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.5429, allocations: 0 / 1.04 GB, free: 10.29 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.5429, allocations: 0 / 1.04 GB, free: 10.29 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005608/0.5434, allocations: 0.5791 MB / 1.04 GB, free: 9.664 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.5435, allocations: 3.938 kB / 1.04 GB, free: 9.66 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002358/0.5437, allocations: 51.89 kB / 1.041 GB, free: 9.609 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001151/0.5438, allocations: 40.83 kB / 1.041 GB, free: 9.566 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.5439, allocations: 11.98 kB / 1.041 GB, free: 9.555 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009388/0.5448, allocations: 1.511 MB / 1.042 GB, free: 7.906 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.5448, allocations: 4.156 kB / 1.042 GB, free: 7.902 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006432/0.5455, allocations: 0.5714 MB / 1.043 GB, free: 7.312 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000209/0.5457, allocations: 204.3 kB / 1.043 GB, free: 7.094 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.195e-05/0.5458, allocations: 4 kB / 1.043 GB, free: 7.09 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000393/0.5462, allocations: 55.77 kB / 1.043 GB, free: 7.035 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.5462, allocations: 15.92 kB / 1.043 GB, free: 7.02 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.5462, allocations: 11.98 kB / 1.043 GB, free: 7.008 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0007046/0.5469, allocations: 0.659 MB / 1.044 GB, free: 6.355 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.283e-06/0.5469, allocations: 0 / 1.044 GB, free: 6.355 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005396/0.5475, allocations: 183.8 kB / 1.044 GB, free: 6.176 MB / 0.795 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.0008627/0.5484, allocations: 1.123 MB / 1.045 GB, free: 5.02 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0007643/0.5491, allocations: 0.5944 MB / 1.045 GB, free: 4.414 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.5491, allocations: 1.938 kB / 1.045 GB, free: 4.414 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002772/0.5494, allocations: 248.5 kB / 1.046 GB, free: 4.16 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007297/0.5502, allocations: 175 kB / 1.046 GB, free: 3.988 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008903/0.5591, allocations: 7.179 MB / 1.053 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004776/0.5596, allocations: 1.01 MB / 1.054 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003762/0.56, allocations: 180.5 kB / 1.054 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002573/0.5602, allocations: 211.4 kB / 1.054 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of SimCode: time 3.3e-07/0.5602, allocations: 0 / 1.054 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.53/4.09, allocations: 13.93 MB / 1.068 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002489/4.09, allocations: 224.4 kB / 1.068 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.677/6.767, allocations: 0 / 1.068 GB, free: 13.14 MB / 0.8262 GB (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Examples_ConductorMultiLayer3_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Examples_ConductorMultiLayer3.fmu > Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1)