Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.ConductorMultiLayer,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Examples_ConductorMultiLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer,fileNamePrefix="Buildings_10_Buildings_HeatTransfer_Examples_ConductorMultiLayer",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.0009906/0.0009905, 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.0009563/0.0009562, allocations: 190.8 kB / 16.25 MB, free: 6.633 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.282/1.282, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.471/2.471, allocations: 437 MB / 0.7101 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 59.91 kB / 0.8688 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5825/0.5837, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.003853/0.5876, allocations: 2.785 MB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003726/0.5913, allocations: 2.764 MB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002411/0.5916, allocations: 11.94 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001363/0.593, allocations: 458.3 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005169/0.5935, allocations: 247.1 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009313/0.5945, allocations: 359.3 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001604/0.5961, allocations: 1.556 MB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002183/0.5963, allocations: 138.3 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005446/0.5969, allocations: 490.7 kB / 1.025 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004974/0.5974, allocations: 442.6 kB / 1.026 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.083e-05/0.5975, allocations: 48 kB / 1.026 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.591e-05/0.5976, allocations: 52 kB / 1.026 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002174/0.5978, allocations: 259.3 kB / 1.026 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003036/0.5981, allocations: 374.2 kB / 1.027 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006911/0.5988, allocations: 0.8996 MB / 1.027 GB, free: 7.832 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.5988, allocations: 3.938 kB / 1.027 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.62e-07/0.5988, allocations: 0 / 1.027 GB, free: 7.828 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.325e-05/0.5988, allocations: 0 / 1.027 GB, free: 7.828 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.001826/0.6007, allocations: 1.148 MB / 1.029 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.6007, allocations: 12.03 kB / 1.029 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.342e-05/0.6008, allocations: 62.72 kB / 1.029 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/0.6009, allocations: 80 kB / 1.029 GB, free: 6.469 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008332/0.6017, allocations: 0.6486 MB / 1.029 GB, free: 5.777 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.6018, allocations: 24.94 kB / 1.029 GB, free: 5.754 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.973e-05/0.6018, allocations: 40.38 kB / 1.029 GB, free: 5.715 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000514/0.6023, allocations: 374.7 kB / 1.03 GB, free: 5.328 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.6024, allocations: 3.938 kB / 1.03 GB, free: 5.324 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.768e-05/0.6024, allocations: 12 kB / 1.03 GB, free: 5.312 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.6024, allocations: 4 kB / 1.03 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003639/0.6028, allocations: 233.5 kB / 1.03 GB, free: 5.082 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.003239/0.606, allocations: 2.459 MB / 1.032 GB, free: 2.434 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009354/0.607, allocations: 398.4 kB / 1.033 GB, free: 2.035 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002098/0.6072, allocations: 140.8 kB / 1.033 GB, free: 1.895 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.6072, allocations: 4 kB / 1.033 GB, free: 1.891 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.6073, allocations: 30.56 kB / 1.033 GB, free: 1.852 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.773e-06/0.6073, allocations: 0 / 1.033 GB, free: 1.852 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0009025/0.6082, allocations: 0.5393 MB / 1.034 GB, free: 1.285 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.6082, allocations: 51.41 kB / 1.034 GB, free: 1.223 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.6093, allocations: 0.9415 MB / 1.034 GB, free: 280 kB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.6093, allocations: 33.7 kB / 1.035 GB, free: 240 kB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/0.6096, allocations: 304.6 kB / 1.035 GB, free: 15.93 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 6.699e-05/0.6096, allocations: 67.03 kB / 1.035 GB, free: 15.86 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.6098, allocations: 126.2 kB / 1.035 GB, free: 15.73 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.6099, allocations: 382.7 kB / 1.035 GB, free: 15.35 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003207/0.6103, allocations: 240.9 kB / 1.036 GB, free: 15.11 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004593/0.6107, allocations: 0.5053 MB / 1.036 GB, free: 14.48 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007449/0.6115, allocations: 0.6944 MB / 1.037 GB, free: 13.66 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.6115, allocations: 4 kB / 1.037 GB, free: 13.65 MB / 0.795 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001083/0.6126, allocations: 0.8112 MB / 1.038 GB, free: 12.83 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.6126, allocations: 9.406 kB / 1.038 GB, free: 12.82 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.6126, allocations: 12 kB / 1.038 GB, free: 12.81 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001775/0.6128, allocations: 52.75 kB / 1.038 GB, free: 12.76 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004335/0.6132, allocations: 139.8 kB / 1.038 GB, free: 12.62 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001151/0.6144, allocations: 1.554 MB / 1.039 GB, free: 10.93 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006706/0.6151, allocations: 127.2 kB / 1.039 GB, free: 10.8 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.602e-05/0.6151, allocations: 31.94 kB / 1.039 GB, free: 10.77 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.0003137/0.6155, allocations: 338.7 kB / 1.04 GB, free: 10.43 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.067e-05/0.6156, allocations: 75.03 kB / 1.04 GB, free: 10.36 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.6157, allocations: 70.06 kB / 1.04 GB, free: 10.28 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.6157, allocations: 4 kB / 1.04 GB, free: 10.28 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.6157, allocations: 0 / 1.04 GB, free: 10.28 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.6157, allocations: 0 / 1.04 GB, free: 10.28 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000625/0.6163, allocations: 0.5752 MB / 1.04 GB, free: 9.652 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.6163, allocations: 3.938 kB / 1.04 GB, free: 9.648 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/0.6166, allocations: 51.95 kB / 1.041 GB, free: 9.598 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000111/0.6167, allocations: 36.83 kB / 1.041 GB, free: 9.559 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.353e-05/0.6167, allocations: 12 kB / 1.041 GB, free: 9.547 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009822/0.6177, allocations: 1.527 MB / 1.042 GB, free: 7.883 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6177, allocations: 0 / 1.042 GB, free: 7.883 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006697/0.6184, allocations: 0.5675 MB / 1.043 GB, free: 7.297 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002231/0.6187, allocations: 204.4 kB / 1.043 GB, free: 7.078 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.681e-05/0.6187, allocations: 12 kB / 1.043 GB, free: 7.066 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004009/0.6191, allocations: 51.77 kB / 1.043 GB, free: 7.016 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.844e-05/0.6192, allocations: 12.11 kB / 1.043 GB, free: 7.004 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.6192, allocations: 8 kB / 1.043 GB, free: 6.996 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0007335/0.62, allocations: 0.659 MB / 1.044 GB, free: 6.344 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.443e-06/0.62, allocations: 0 / 1.044 GB, free: 6.344 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005643/0.6205, allocations: 187.8 kB / 1.044 GB, free: 6.16 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.000909/0.6215, allocations: 1.12 MB / 1.045 GB, free: 5.008 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0008075/0.6223, allocations: 0.5902 MB / 1.045 GB, free: 4.406 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.6223, allocations: 192 / 1.045 GB, free: 4.406 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002947/0.6226, allocations: 255.9 kB / 1.046 GB, free: 4.145 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007838/0.6234, allocations: 174.8 kB / 1.046 GB, free: 3.973 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009032/0.6324, allocations: 7.181 MB / 1.053 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000523/0.633, allocations: 1.006 MB / 1.054 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0004076/0.6334, allocations: 184.5 kB / 1.054 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002657/0.6337, allocations: 199.4 kB / 1.054 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of SimCode: time 5.71e-07/0.6337, allocations: 0 / 1.054 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6032/1.237, 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.0002255/1.237, allocations: 226.8 kB / 1.068 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.114/3.351, allocations: 0 / 1.068 GB, free: 13.13 MB / 0.8262 GB (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Examples_ConductorMultiLayer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Examples_ConductorMultiLayer.fmu > Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1)