Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.ConductorSingleLayer2,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",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.001096/0.001096, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001239/0.001239, allocations: 177.3 kB / 15.95 MB, free: 216 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.41/1.41, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.532/2.532, allocations: 409.2 MB / 0.6838 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003309/0.000331, allocations: 8 kB / 0.8375 GB, free: 6.559 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8019/0.8023, allocations: 146.8 MB / 0.9809 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.004904/0.8072, allocations: 3.004 MB / 0.9838 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00483/0.8121, allocations: 2.373 MB / 0.9861 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004427/0.8126, allocations: 11.94 kB / 0.9861 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.8136, allocations: 290.7 kB / 0.9864 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001043/0.8147, allocations: 393.7 kB / 0.9868 GB, free: 208 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001409/0.8161, allocations: 431.1 kB / 0.9872 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001559/0.8177, allocations: 0.7797 MB / 0.9879 GB, free: 15 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000326/0.818, allocations: 119.5 kB / 0.9881 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006829/0.8187, allocations: 318.9 kB / 0.9884 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006087/0.8193, allocations: 338.6 kB / 0.9887 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 8.667e-05/0.8194, allocations: 24 kB / 0.9887 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.8195, allocations: 28 kB / 0.9887 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0004818/0.82, allocations: 315.1 kB / 0.989 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002279/0.8203, allocations: 185.3 kB / 0.9892 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0008983/0.8212, allocations: 0.674 MB / 0.9899 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.8212, allocations: 0 / 0.9899 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8212, allocations: 3.938 kB / 0.9899 GB, free: 13 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.448e-05/0.8212, allocations: 0 / 0.9899 GB, free: 13 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002878/0.8241, allocations: 1.14 MB / 0.991 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/0.8242, allocations: 8.031 kB / 0.991 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001133/0.8243, allocations: 70.53 kB / 0.9911 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002233/0.8246, allocations: 98.88 kB / 0.9912 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001416/0.826, allocations: 0.5811 MB / 0.9917 GB, free: 11 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.517e-05/0.8261, allocations: 44.64 kB / 0.9918 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/0.8262, allocations: 52 kB / 0.9918 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008818/0.8271, allocations: 414.9 kB / 0.9922 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.8271, allocations: 0 / 0.9922 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.608e-05/0.8272, allocations: 12 kB / 0.9922 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.8272, allocations: 8 kB / 0.9922 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005982/0.8278, allocations: 234.4 kB / 0.9924 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0043/0.8321, allocations: 2.498 MB / 0.9949 GB, free: 7.543 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001973/0.8341, allocations: 0.5537 MB / 0.9954 GB, free: 6.98 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.8342, allocations: 4 kB / 0.9954 GB, free: 6.977 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.8342, allocations: 42.48 kB / 0.9955 GB, free: 6.926 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=30): time 2.965e-06/0.8342, allocations: 0 / 0.9955 GB, free: 6.926 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30): time 0.002416/0.8366, allocations: 0.8822 MB / 0.9963 GB, free: 5.973 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.318e-05/0.8367, allocations: 59.41 kB / 0.9964 GB, free: 5.902 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001711/0.8384, allocations: 0.888 MB / 0.9973 GB, free: 5.008 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.502e-05/0.8385, allocations: 41.7 kB / 0.9973 GB, free: 4.961 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003993/0.8389, allocations: 364.7 kB / 0.9976 GB, free: 4.598 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001706/0.8391, allocations: 114.4 kB / 0.9978 GB, free: 4.484 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.417e-05/0.8392, allocations: 16 kB / 0.9978 GB, free: 4.469 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002575/0.8394, allocations: 394.7 kB / 0.9981 GB, free: 4.074 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006244/0.8401, allocations: 245.8 kB / 0.9984 GB, free: 3.836 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/0.8411, allocations: 0.6387 MB / 0.999 GB, free: 3.008 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008223/0.8419, allocations: 343.2 kB / 0.9993 GB, free: 2.672 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-05/0.842, allocations: 4 kB / 0.9993 GB, free: 2.668 MB / 0.7481 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002536/0.8445, allocations: 1.01 MB / 1 GB, free: 1.641 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.588e-05/0.8446, allocations: 8 kB / 1 GB, free: 1.633 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.335e-05/0.8446, allocations: 27.94 kB / 1 GB, free: 1.605 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005925/0.8452, allocations: 122.8 kB / 1 GB, free: 1.477 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.8463, allocations: 195.6 kB / 1.001 GB, free: 1.285 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004717/0.851, allocations: 4.193 MB / 1.005 GB, free: 12.69 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001742/0.8528, allocations: 115 kB / 1.005 GB, free: 12.58 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.602e-05/0.8529, allocations: 40 kB / 1.005 GB, free: 12.54 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (93): * Single equations (assignments): 90 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005869/0.8535, allocations: 269.5 kB / 1.005 GB, free: 12.27 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001893/0.8537, allocations: 82.92 kB / 1.005 GB, free: 12.18 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001761/0.8539, allocations: 88.45 kB / 1.005 GB, free: 12.09 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.8539, allocations: 4 kB / 1.005 GB, free: 12.09 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.408e-05/0.8539, allocations: 4 kB / 1.005 GB, free: 12.09 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.8539, allocations: 0 / 1.005 GB, free: 12.09 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007851/0.8547, allocations: 0.6413 MB / 1.006 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.8547, allocations: 0 / 1.006 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003265/0.8551, allocations: 63.95 kB / 1.006 GB, free: 11.33 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003068/0.8554, allocations: 110.4 kB / 1.006 GB, free: 11.21 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.8554, allocations: 11.94 kB / 1.006 GB, free: 11.2 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003097/0.8585, allocations: 4.163 MB / 1.01 GB, free: 6.645 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.8585, allocations: 4.031 kB / 1.01 GB, free: 6.641 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.8597, allocations: 0.7411 MB / 1.011 GB, free: 5.875 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003129/0.86, allocations: 203.9 kB / 1.011 GB, free: 5.656 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.721e-05/0.8601, allocations: 11.98 kB / 1.011 GB, free: 5.645 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004581/0.8606, allocations: 27.88 kB / 1.011 GB, free: 5.617 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.147e-05/0.8606, allocations: 23.97 kB / 1.011 GB, free: 5.594 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.8607, allocations: 4 kB / 1.011 GB, free: 5.59 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.000805/0.8615, allocations: 0.5927 MB / 1.012 GB, free: 5 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8615, allocations: 0 / 1.012 GB, free: 5 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0009557/0.8625, allocations: 271.8 kB / 1.012 GB, free: 4.734 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * 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 (23): * Single equations (assignments): 20 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00138/0.8638, allocations: 1.292 MB / 1.013 GB, free: 3.406 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001445/0.8653, allocations: 0.9243 MB / 1.014 GB, free: 2.445 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.8653, allocations: 0 / 1.014 GB, free: 2.445 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.000712/0.866, allocations: 0.5315 MB / 1.015 GB, free: 1.875 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007585/0.8668, allocations: 156.5 kB / 1.015 GB, free: 1.719 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007177/0.874, allocations: 12.21 MB / 1.027 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000622/0.8747, allocations: 1.011 MB / 1.028 GB, free: 4.137 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0004656/0.8751, allocations: 133.3 kB / 1.028 GB, free: 4.004 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003817/0.8755, allocations: 275.3 kB / 1.028 GB, free: 3.734 MB / 0.7794 GB Notification: Performance of SimCode: time 1.102e-06/0.8755, allocations: 0 / 1.028 GB, free: 3.734 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03639/0.9119, allocations: 15.84 MB / 1.044 GB, free: 4.176 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002032/0.9122, allocations: 212.8 kB / 1.044 GB, free: 3.93 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.182/3.094, allocations: 0 / 1.044 GB, free: 3.93 MB / 0.795 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat does not exist to compare? outputFormat=mat