Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.ConductorMultiLayer3,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,fileNamePrefix="Buildings_9_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.001238/0.001238, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.001205/0.001205, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 223.2 MB / 240 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.478/2.478, allocations: 390.4 MB / 0.6655 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004719/0.0004721, allocations: 8 kB / 0.8149 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.894/0.8945, allocations: 142.3 MB / 0.9538 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.002661/0.8972, allocations: 2.327 MB / 0.9561 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003469/0.9007, allocations: 2.596 MB / 0.9586 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002567/0.901, allocations: 8.625 kB / 0.9587 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001268/0.9023, allocations: 444 kB / 0.9591 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005662/0.9028, allocations: 223.7 kB / 0.9593 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000889/0.9037, allocations: 282.1 kB / 0.9596 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001921/0.9057, allocations: 1.563 MB / 0.9611 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002534/0.9059, allocations: 123.8 kB / 0.9612 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008178/0.9068, allocations: 447.5 kB / 0.9616 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006604/0.9074, allocations: 391.9 kB / 0.962 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.078e-05/0.9075, allocations: 22.16 kB / 0.962 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.9076, allocations: 21.66 kB / 0.962 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002397/0.9079, allocations: 233.4 kB / 0.9623 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.908, allocations: 159.6 kB / 0.9624 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006317/0.9087, allocations: 0.7197 MB / 0.9631 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.9087, allocations: 0 / 0.9631 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.914e-06/0.9087, allocations: 0 / 0.9631 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.9087, allocations: 0 / 0.9631 GB, free: 1.66 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.001836/0.9105, allocations: 1.04 MB / 0.9641 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.9106, allocations: 9.531 kB / 0.9641 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.174e-05/0.9107, allocations: 67.42 kB / 0.9642 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.9108, allocations: 77.69 kB / 0.9643 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009868/0.9118, allocations: 0.6216 MB / 0.9649 GB, free: 308 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.67e-05/0.9119, allocations: 30.22 kB / 0.9649 GB, free: 292 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.912, allocations: 42.16 kB / 0.965 GB, free: 276 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006018/0.9126, allocations: 371.9 kB / 0.9653 GB, free: 28 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.9126, allocations: 1.094 kB / 0.9653 GB, free: 28 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.753e-05/0.9127, allocations: 10.41 kB / 0.9653 GB, free: 20 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.9127, allocations: 13.89 kB / 0.9653 GB, free: 12 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004575/0.9131, allocations: 237.3 kB / 0.9656 GB, free: 15.9 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.004057/0.9172, allocations: 2.477 MB / 0.968 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.9183, allocations: 395.8 kB / 0.9684 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002506/0.9186, allocations: 142.9 kB / 0.9685 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.9186, allocations: 1.312 kB / 0.9685 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.9186, allocations: 39.62 kB / 0.9685 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 2.274e-06/0.9186, allocations: 1.219 kB / 0.9685 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.001072/0.9197, allocations: 0.5432 MB / 0.9691 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.9198, allocations: 52.75 kB / 0.9691 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/0.9211, allocations: 0.9327 MB / 0.97 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.462e-05/0.9211, allocations: 34.95 kB / 0.9701 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002714/0.9214, allocations: 297.1 kB / 0.9703 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.973e-05/0.9215, allocations: 72.38 kB / 0.9704 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.32e-05/0.9216, allocations: 10.19 kB / 0.9704 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.9217, allocations: 384.2 kB / 0.9708 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003903/0.9221, allocations: 240.4 kB / 0.971 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005732/0.9227, allocations: 0.4997 MB / 0.9715 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004561/0.9232, allocations: 310.2 kB / 0.9718 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.9232, allocations: 4.031 kB / 0.9718 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001326/0.9245, allocations: 0.8077 MB / 0.9726 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.93e-05/0.9246, allocations: 12.89 kB / 0.9726 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.04e-05/0.9246, allocations: 13.39 kB / 0.9726 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002334/0.9248, allocations: 57.77 kB / 0.9727 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004752/0.9253, allocations: 144 kB / 0.9728 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/0.9265, allocations: 1.437 MB / 0.9742 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008022/0.9273, allocations: 125 kB / 0.9743 GB, free: 9.125 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.927e-05/0.9274, allocations: 26.72 kB / 0.9744 GB, free: 9.121 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005044/0.9279, allocations: 338.1 kB / 0.9747 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000174/0.9281, allocations: 65.38 kB / 0.9747 GB, free: 8.84 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001332/0.9282, allocations: 74.8 kB / 0.9748 GB, free: 8.789 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.9283, allocations: 2.656 kB / 0.9748 GB, free: 8.789 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.9283, allocations: 0 / 0.9748 GB, free: 8.789 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.9283, allocations: 1.25 kB / 0.9748 GB, free: 8.789 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007912/0.9291, allocations: 0.5788 MB / 0.9754 GB, free: 8.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.9291, allocations: 0 / 0.9754 GB, free: 8.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002544/0.9293, allocations: 56.42 kB / 0.9754 GB, free: 8.301 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001457/0.9295, allocations: 39.8 kB / 0.9755 GB, free: 8.277 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.928e-05/0.9295, allocations: 15.36 kB / 0.9755 GB, free: 8.266 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001191/0.9307, allocations: 1.413 MB / 0.9769 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.9307, allocations: 4.656 kB / 0.9769 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008856/0.9316, allocations: 0.5685 MB / 0.9774 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003222/0.932, allocations: 208.8 kB / 0.9776 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.33e-05/0.9321, allocations: 12.05 kB / 0.9776 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003778/0.9324, allocations: 48.05 kB / 0.9777 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.284e-05/0.9325, allocations: 14.11 kB / 0.9777 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.9325, allocations: 2.781 kB / 0.9777 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001064/0.9336, allocations: 0.6535 MB / 0.9783 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.184e-06/0.9336, allocations: 0.8438 kB / 0.9783 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008785/0.9345, allocations: 190.9 kB / 0.9785 GB, free: 5.879 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001179/0.9357, allocations: 1.132 MB / 0.9796 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001045/0.9368, allocations: 0.5696 MB / 0.9802 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.9368, allocations: 0 / 0.9802 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003376/0.9371, allocations: 251.7 kB / 0.9804 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009721/0.9381, allocations: 174.8 kB / 0.9806 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009124/0.9472, allocations: 5.314 MB / 0.9858 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006613/0.9479, allocations: 1.01 MB / 0.9868 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005032/0.9484, allocations: 184.5 kB / 0.9869 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003086/0.9488, allocations: 199.4 kB / 0.9871 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of SimCode: time 1.103e-06/0.9488, allocations: 0 / 0.9871 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02973/0.9785, allocations: 14.44 MB / 1.001 GB, free: 14.68 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002027/0.9787, allocations: 200.9 kB / 1.001 GB, free: 14.45 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.959/2.938, allocations: 0 / 1.001 GB, free: 14.45 MB / 0.7637 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer3_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Examples_ConductorMultiLayer3.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat does not exist to compare? outputFormat=mat