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.001039/0.001039, allocations: 84.38 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.001424/0.001424, 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.448/1.448, allocations: 223.2 MB / 240 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.66/2.66, allocations: 409.4 MB / 0.684 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003597/0.0003598, allocations: 11.94 kB / 0.8378 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6992/0.6996, allocations: 146.8 MB / 0.9811 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.003412/0.703, allocations: 3.221 MB / 0.9843 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003426/0.7065, allocations: 2.371 MB / 0.9866 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002581/0.7068, allocations: 19.81 kB / 0.9866 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005738/0.7073, allocations: 202.9 kB / 0.9868 GB, free: 464 kB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0007755/0.7081, allocations: 449.9 kB / 0.9872 GB, free: 12 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009421/0.7091, allocations: 439.1 kB / 0.9876 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001251/0.7103, allocations: 1.312 MB / 0.9889 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002276/0.7106, allocations: 119.5 kB / 0.989 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004515/0.711, allocations: 382.6 kB / 0.9894 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005945/0.7116, allocations: 0.4983 MB / 0.9899 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 7.335e-05/0.7117, allocations: 32 kB / 0.9899 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 9.786e-05/0.7118, allocations: 32 kB / 0.99 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002873/0.7121, allocations: 319.1 kB / 0.9903 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.7123, allocations: 185.2 kB / 0.9904 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0005408/0.7128, allocations: 0.6935 MB / 0.9911 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.7129, allocations: 0 / 0.9911 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7129, allocations: 7.938 kB / 0.9911 GB, free: 12 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.968e-06/0.7129, allocations: 0 / 0.9911 GB, free: 12 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.001843/0.7147, allocations: 1.144 MB / 0.9922 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.7148, allocations: 8.031 kB / 0.9922 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.392e-05/0.7148, allocations: 70.53 kB / 0.9923 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.715, allocations: 98.88 kB / 0.9924 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000892/0.7159, allocations: 0.6279 MB / 0.993 GB, free: 9.949 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.259e-05/0.7159, allocations: 40.66 kB / 0.9931 GB, free: 9.91 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.541e-05/0.716, allocations: 52 kB / 0.9931 GB, free: 9.859 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005815/0.7166, allocations: 418.9 kB / 0.9935 GB, free: 9.418 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.7166, allocations: 7.922 kB / 0.9935 GB, free: 9.41 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.002e-05/0.7167, allocations: 16 kB / 0.9935 GB, free: 9.395 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.7167, allocations: 8 kB / 0.9935 GB, free: 9.387 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003951/0.7171, allocations: 238.4 kB / 0.9938 GB, free: 9.152 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002754/0.7198, allocations: 2.513 MB / 0.9962 GB, free: 6.457 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.7213, allocations: 0.5529 MB / 0.9968 GB, free: 5.898 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002523/0.7215, allocations: 168.7 kB / 0.9969 GB, free: 5.73 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.7216, allocations: 4 kB / 0.9969 GB, free: 5.727 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.7216, allocations: 38.56 kB / 0.997 GB, free: 5.68 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=30): time 2.254e-06/0.7216, allocations: 0 / 0.997 GB, free: 5.68 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30): time 0.00148/0.7231, allocations: 0.8933 MB / 0.9978 GB, free: 4.715 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.7231, allocations: 59.41 kB / 0.9979 GB, free: 4.645 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.7243, allocations: 0.9154 MB / 0.9988 GB, free: 3.723 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.011e-05/0.7243, allocations: 37.7 kB / 0.9988 GB, free: 3.68 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003124/0.7246, allocations: 368.8 kB / 0.9992 GB, free: 3.312 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.7247, allocations: 118.3 kB / 0.9993 GB, free: 3.195 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.7248, allocations: 12 kB / 0.9993 GB, free: 3.184 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002026/0.725, allocations: 402.7 kB / 0.9997 GB, free: 2.781 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004065/0.7254, allocations: 237.8 kB / 0.9999 GB, free: 2.551 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006955/0.7261, allocations: 0.6427 MB / 1.001 GB, free: 1.719 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000514/0.7266, allocations: 339.2 kB / 1.001 GB, free: 1.387 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.7267, allocations: 4 kB / 1.001 GB, free: 1.383 MB / 0.7481 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001523/0.7282, allocations: 1.011 MB / 1.002 GB, free: 364 kB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.7282, allocations: 15.95 kB / 1.002 GB, free: 348 kB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.7282, allocations: 16.03 kB / 1.002 GB, free: 332 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003588/0.7286, allocations: 122.4 kB / 1.002 GB, free: 200 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005709/0.7292, allocations: 187.7 kB / 1.002 GB, free: 12 kB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002843/0.732, allocations: 4.169 MB / 1.006 GB, free: 11.44 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007343/0.7328, allocations: 118.9 kB / 1.006 GB, free: 11.32 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.085e-05/0.7328, allocations: 44 kB / 1.006 GB, free: 11.28 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.000297/0.7331, allocations: 270.9 kB / 1.007 GB, free: 11.01 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.7333, allocations: 82.92 kB / 1.007 GB, free: 10.93 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001273/0.7334, allocations: 84.52 kB / 1.007 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.7334, allocations: 0 / 1.007 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.457e-06/0.7334, allocations: 4 kB / 1.007 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.7334, allocations: 0 / 1.007 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006929/0.7341, allocations: 0.657 MB / 1.007 GB, free: 10.13 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.7341, allocations: 0 / 1.007 GB, free: 10.13 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003079/0.7344, allocations: 67.84 kB / 1.008 GB, free: 10.06 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002639/0.7347, allocations: 106.6 kB / 1.008 GB, free: 9.949 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/0.7348, allocations: 8 kB / 1.008 GB, free: 9.941 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002665/0.7374, allocations: 4.127 MB / 1.012 GB, free: 5.418 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.7374, allocations: 0 / 1.012 GB, free: 5.418 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009975/0.7385, allocations: 0.7494 MB / 1.012 GB, free: 4.645 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002455/0.7387, allocations: 211.9 kB / 1.013 GB, free: 4.418 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.861e-05/0.7388, allocations: 11.94 kB / 1.013 GB, free: 4.406 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003989/0.7392, allocations: 23.97 kB / 1.013 GB, free: 4.383 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.614e-05/0.7393, allocations: 27.97 kB / 1.013 GB, free: 4.355 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.7393, allocations: 4 kB / 1.013 GB, free: 4.352 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0007695/0.7401, allocations: 0.6161 MB / 1.013 GB, free: 3.738 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7401, allocations: 0 / 1.013 GB, free: 3.738 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008329/0.7409, allocations: 271.8 kB / 1.014 GB, free: 3.473 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.001276/0.7422, allocations: 1.3 MB / 1.015 GB, free: 2.137 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001298/0.7435, allocations: 0.9126 MB / 1.016 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.7435, allocations: 4.375 kB / 1.016 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0005646/0.7441, allocations: 0.5312 MB / 1.016 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008054/0.7449, allocations: 168.5 kB / 1.016 GB, free: 456 kB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007868/0.7528, allocations: 5.8 MB / 1.022 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005398/0.7534, allocations: 0.9878 MB / 1.023 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0004102/0.7538, allocations: 153.8 kB / 1.023 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003403/0.7541, allocations: 279.3 kB / 1.023 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of SimCode: time 4.3e-07/0.7542, allocations: 0 / 1.023 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02987/0.784, allocations: 16.8 MB / 1.04 GB, free: 8.359 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/0.7843, allocations: 218.3 kB / 1.04 GB, free: 8.113 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.174/2.958, allocations: 0 / 1.04 GB, free: 8.113 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