Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer,fileNamePrefix="Buildings_latest_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.005749/0.005749, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.001686/0.001686, allocations: 191.2 kB / 16.67 MB, free: 5.465 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.203/1.203, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.429/2.429, allocations: 482.6 MB / 0.755 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 67.89 kB / 1.083 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2508, allocations: 162.3 MB / 1.242 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.003289/0.2541, allocations: 2.738 MB / 1.244 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003182/0.2573, allocations: 2.78 MB / 1.247 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.2574, allocations: 7.938 kB / 1.247 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.2585, allocations: 498.1 kB / 1.248 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003918/0.2589, allocations: 254.9 kB / 1.248 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006942/0.2596, allocations: 402.6 kB / 1.248 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001422/0.2611, allocations: 1.532 MB / 1.25 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001834/0.2612, allocations: 134.2 kB / 1.25 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004931/0.2618, allocations: 482.7 kB / 1.25 GB, free: 1.016 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004566/0.2622, allocations: 382.6 kB / 1.251 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.642e-05/0.2623, allocations: 48 kB / 1.251 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.2624, allocations: 48 kB / 1.251 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002581/0.2627, allocations: 279.2 kB / 1.251 GB, free: 280 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.4404/0.7031, allocations: 372.4 kB / 1.251 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009101/0.704, allocations: 0.9108 MB / 1.252 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.704, allocations: 0 / 1.252 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.704, allocations: 0 / 1.252 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.7041, allocations: 1.594 kB / 1.252 GB, free: 9.09 MB / 0.9981 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.001639/0.7057, allocations: 1.164 MB / 1.253 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.7057, allocations: 10.38 kB / 1.254 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.881e-05/0.7058, allocations: 63 kB / 1.254 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.7059, allocations: 82.64 kB / 1.254 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007748/0.7067, allocations: 0.682 MB / 1.254 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.7067, allocations: 26.34 kB / 1.254 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.172e-05/0.7068, allocations: 42.97 kB / 1.254 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004685/0.7073, allocations: 377.7 kB / 1.255 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.7073, allocations: 0.7188 kB / 1.255 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.473e-05/0.7073, allocations: 8.844 kB / 1.255 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.7073, allocations: 6.062 kB / 1.255 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000344/0.7077, allocations: 237.7 kB / 1.255 GB, free: 7.98 MB / 0.9981 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.002696/0.7104, allocations: 2.45 MB / 1.257 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008277/0.7112, allocations: 399.9 kB / 1.258 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/0.7114, allocations: 142.9 kB / 1.258 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.7114, allocations: 1.531 kB / 1.258 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.11e-05/0.7114, allocations: 38.8 kB / 1.258 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=18): time 1.162e-06/0.7114, allocations: 0 / 1.258 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18): time 0.0007714/0.7122, allocations: 0.5359 MB / 1.258 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.669e-05/0.7122, allocations: 57.25 kB / 1.259 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009421/0.7132, allocations: 0.9369 MB / 1.259 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.7132, allocations: 35.58 kB / 1.259 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.7134, allocations: 305.7 kB / 1.26 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.739e-05/0.7135, allocations: 69.61 kB / 1.26 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.7136, allocations: 129 kB / 1.26 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.688e-05/0.7137, allocations: 379.5 kB / 1.26 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002974/0.714, allocations: 240.4 kB / 1.261 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003453/0.7143, allocations: 0.5013 MB / 1.261 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005675/0.7149, allocations: 0.698 MB / 1.262 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.7149, allocations: 5.812 kB / 1.262 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009933/0.7159, allocations: 0.8168 MB / 1.263 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.7159, allocations: 8.75 kB / 1.263 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.716, allocations: 12.62 kB / 1.263 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001661/0.7161, allocations: 53.12 kB / 1.263 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004016/0.7165, allocations: 139.5 kB / 1.263 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007346/0.7173, allocations: 1.54 MB / 1.264 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005582/0.7179, allocations: 128 kB / 1.264 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.385e-05/0.7179, allocations: 27.22 kB / 1.264 GB, free: 2.895 MB / 0.9981 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.0003222/0.7182, allocations: 339.6 kB / 1.265 GB, free: 18.71 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.331e-05/0.7183, allocations: 69.62 kB / 1.265 GB, free: 18.67 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.606e-05/0.7184, allocations: 68.56 kB / 1.265 GB, free: 18.63 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.7184, allocations: 1.719 kB / 1.265 GB, free: 18.63 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.7184, allocations: 1.375 kB / 1.265 GB, free: 18.63 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.7184, allocations: 5.328 kB / 1.265 GB, free: 18.63 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005445/0.719, allocations: 0.5831 MB / 1.265 GB, free: 18.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.719, allocations: 0 / 1.265 GB, free: 18.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002097/0.7192, allocations: 55.92 kB / 1.265 GB, free: 18.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.196e-05/0.7193, allocations: 40.33 kB / 1.265 GB, free: 18.28 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.7193, allocations: 9.125 kB / 1.265 GB, free: 18.28 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009352/0.7203, allocations: 1.523 MB / 1.267 GB, free: 16.84 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.7203, allocations: 4.156 kB / 1.267 GB, free: 16.84 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005867/0.7209, allocations: 0.571 MB / 1.268 GB, free: 16.55 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001939/0.7211, allocations: 201.7 kB / 1.268 GB, free: 16.39 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.944e-05/0.7211, allocations: 9.234 kB / 1.268 GB, free: 16.39 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003318/0.7215, allocations: 54.73 kB / 1.268 GB, free: 16.38 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/0.7215, allocations: 18.27 kB / 1.268 GB, free: 16.38 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.7215, allocations: 7.969 kB / 1.268 GB, free: 16.37 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006495/0.7222, allocations: 0.6597 MB / 1.268 GB, free: 16.12 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.91e-07/0.7222, allocations: 0 / 1.268 GB, free: 16.12 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004978/0.7227, allocations: 184.6 kB / 1.269 GB, free: 16.1 MB / 1.014 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.000862/0.7236, allocations: 1.124 MB / 1.27 GB, free: 15.27 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006852/0.7243, allocations: 0.5755 MB / 1.27 GB, free: 15.06 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.7243, allocations: 0 / 1.27 GB, free: 15.06 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002623/0.7245, allocations: 248.7 kB / 1.271 GB, free: 14.91 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006888/0.7252, allocations: 174.2 kB / 1.271 GB, free: 14.86 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007203/0.7325, allocations: 6.939 MB / 1.277 GB, free: 11.17 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005905/0.7331, allocations: 1.007 MB / 1.278 GB, free: 10.42 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003504/0.7334, allocations: 184.4 kB / 1.279 GB, free: 10.4 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000283/0.7337, allocations: 202.9 kB / 1.279 GB, free: 10.25 MB / 1.014 GB Notification: Performance of SimCode: time 3e-07/0.7337, allocations: 3.656 kB / 1.279 GB, free: 10.25 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.887/5.62, allocations: 14.21 MB / 1.293 GB, free: 9.18 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.84/22.47, allocations: 9.188 kB / 1.293 GB, free: 9.176 MB / 1.014 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1)