Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.ConductorMultiLayer,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer,fileNamePrefix="Buildings_9_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.0008553/0.0008552, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.005087/0.005087, allocations: 169.5 kB / 16.26 MB, free: 6.652 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.227/1.227, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.121/2.121, allocations: 390.9 MB / 0.6664 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002801/0.0002801, allocations: 8 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4922/0.4925, allocations: 142.4 MB / 0.9551 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.001887/0.4944, allocations: 2.419 MB / 0.9575 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002421/0.4969, allocations: 2.756 MB / 0.9602 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.497, allocations: 8.062 kB / 0.9602 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009045/0.4979, allocations: 465.2 kB / 0.9607 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003134/0.4982, allocations: 233.8 kB / 0.9609 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005365/0.4988, allocations: 335.1 kB / 0.9612 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001295/0.5001, allocations: 1.717 MB / 0.9629 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.5002, allocations: 129.6 kB / 0.963 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003717/0.5006, allocations: 406.5 kB / 0.9634 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003884/0.501, allocations: 390.8 kB / 0.9638 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.703e-05/0.5011, allocations: 21.25 kB / 0.9638 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.858e-05/0.5012, allocations: 21.66 kB / 0.9638 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001638/0.5013, allocations: 230.1 kB / 0.964 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002243/0.5016, allocations: 358.4 kB / 0.9644 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004996/0.5021, allocations: 0.865 MB / 0.9652 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.5021, allocations: 0 / 0.9652 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.292e-06/0.5021, allocations: 0 / 0.9652 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.5021, allocations: 1.281 kB / 0.9652 GB, free: 0.7422 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.001413/0.5035, allocations: 1.032 MB / 0.9662 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.5035, allocations: 9.844 kB / 0.9662 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.784e-05/0.5036, allocations: 55.52 kB / 0.9663 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.5037, allocations: 78.09 kB / 0.9663 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007734/0.5045, allocations: 0.6535 MB / 0.967 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.5045, allocations: 27.88 kB / 0.967 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.303e-05/0.5046, allocations: 46.22 kB / 0.9671 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004889/0.5051, allocations: 380.9 kB / 0.9674 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.5051, allocations: 0.75 kB / 0.9674 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.5051, allocations: 10.95 kB / 0.9674 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.383e-06/0.5052, allocations: 6.156 kB / 0.9674 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003547/0.5055, allocations: 243.1 kB / 0.9677 GB, free: 14.95 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.002923/0.5084, allocations: 2.472 MB / 0.9701 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008434/0.5093, allocations: 405 kB / 0.9705 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.5095, allocations: 139.7 kB / 0.9706 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.5095, allocations: 2.125 kB / 0.9706 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.558e-05/0.5095, allocations: 35.62 kB / 0.9706 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 1.203e-06/0.5095, allocations: 0 / 0.9706 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.0008142/0.5104, allocations: 0.5439 MB / 0.9712 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.5104, allocations: 57.5 kB / 0.9712 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.5114, allocations: 0.9385 MB / 0.9721 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/0.5114, allocations: 35.02 kB / 0.9722 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/0.5117, allocations: 300.1 kB / 0.9725 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.129e-05/0.5117, allocations: 64.64 kB / 0.9725 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.503e-05/0.5118, allocations: 69.77 kB / 0.9726 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.512, allocations: 384.5 kB / 0.973 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003043/0.5123, allocations: 243.4 kB / 0.9732 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004309/0.5127, allocations: 0.4969 MB / 0.9737 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006894/0.5134, allocations: 0.705 MB / 0.9744 GB, free: 9.688 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.5134, allocations: 4.094 kB / 0.9744 GB, free: 9.688 MB / 0.7325 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001026/0.5144, allocations: 0.8219 MB / 0.9752 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.5145, allocations: 9.812 kB / 0.9752 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.5145, allocations: 8.656 kB / 0.9752 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001545/0.5146, allocations: 53.05 kB / 0.9752 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003981/0.515, allocations: 140.1 kB / 0.9754 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009208/0.516, allocations: 1.431 MB / 0.9768 GB, free: 7.781 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005793/0.5166, allocations: 129.2 kB / 0.9769 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.391e-05/0.5166, allocations: 27 kB / 0.9769 GB, free: 7.703 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.0002822/0.5169, allocations: 345.8 kB / 0.9772 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.956e-05/0.517, allocations: 57.88 kB / 0.9773 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.5171, allocations: 71.22 kB / 0.9774 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.5171, allocations: 1.219 kB / 0.9774 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.5171, allocations: 1.688 kB / 0.9774 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.5171, allocations: 0 / 0.9774 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005527/0.5177, allocations: 0.5952 MB / 0.978 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.5177, allocations: 0 / 0.978 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/0.5179, allocations: 50.83 kB / 0.978 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.918e-05/0.518, allocations: 44.27 kB / 0.978 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.409e-05/0.518, allocations: 15.98 kB / 0.9781 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008562/0.5189, allocations: 1.414 MB / 0.9794 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.5189, allocations: 0 / 0.9794 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006372/0.5196, allocations: 0.5861 MB / 0.98 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000199/0.5198, allocations: 200.2 kB / 0.9802 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.79e-05/0.5198, allocations: 11.98 kB / 0.9802 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003641/0.5202, allocations: 47.92 kB / 0.9803 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.5203, allocations: 11.98 kB / 0.9803 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.5203, allocations: 8 kB / 0.9803 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006868/0.521, allocations: 0.659 MB / 0.9809 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.81e-07/0.521, allocations: 4 kB / 0.9809 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000519/0.5215, allocations: 183.8 kB / 0.9811 GB, free: 3.688 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.000849/0.5224, allocations: 1.12 MB / 0.9822 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007103/0.5231, allocations: 0.5785 MB / 0.9828 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.5231, allocations: 0 / 0.9828 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000274/0.5234, allocations: 252.3 kB / 0.983 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007275/0.5241, allocations: 174.7 kB / 0.9832 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008205/0.5323, allocations: 7.284 MB / 0.9903 GB, free: 9.895 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004843/0.5328, allocations: 1.01 MB / 0.9913 GB, free: 8.855 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003464/0.5332, allocations: 192.4 kB / 0.9915 GB, free: 8.668 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002507/0.5334, allocations: 199.4 kB / 0.9916 GB, free: 8.473 MB / 0.7481 GB Notification: Performance of SimCode: time 2.81e-07/0.5334, allocations: 0 / 0.9916 GB, free: 8.473 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.101/2.634, allocations: 13.39 MB / 1.005 GB, free: 11.36 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/2.634, allocations: 220 kB / 1.005 GB, free: 11.1 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.051/4.685, allocations: 0 / 1.005 GB, free: 11.1 MB / 0.7637 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1)