Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.ConductorSingleLayer2,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_9_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.001045/0.001045, allocations: 99.86 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.000946/0.0009462, 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.376/1.376, allocations: 223.2 MB / 239.9 MB, free: 5.445 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.482/2.482, allocations: 390.3 MB / 0.6653 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.000347, allocations: 8 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7783/0.7787, allocations: 142.3 MB / 0.9536 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.003209/0.7819, allocations: 3.006 MB / 0.9565 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003475/0.7854, allocations: 2.365 MB / 0.9588 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003977/0.7859, allocations: 19.19 kB / 0.9588 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008516/0.7867, allocations: 290.2 kB / 0.9591 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0008725/0.7876, allocations: 392.1 kB / 0.9595 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.7889, allocations: 424.1 kB / 0.9599 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00134/0.7903, allocations: 0.7821 MB / 0.9607 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002482/0.7905, allocations: 111 kB / 0.9608 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005846/0.7911, allocations: 329.7 kB / 0.9611 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004746/0.7916, allocations: 339.1 kB / 0.9614 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.734e-05/0.7917, allocations: 25.47 kB / 0.9614 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.7918, allocations: 27.78 kB / 0.9615 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003483/0.7922, allocations: 316.7 kB / 0.9618 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001841/0.7924, allocations: 187.5 kB / 0.9619 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005344/0.7929, allocations: 0.6655 MB / 0.9626 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.7929, allocations: 0 / 0.9626 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.194e-06/0.7929, allocations: 0 / 0.9626 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.423e-05/0.7929, allocations: 0 / 0.9626 GB, free: 1.402 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002097/0.795, allocations: 1.142 MB / 0.9637 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.892e-05/0.7951, allocations: 10 kB / 0.9637 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.305e-05/0.7952, allocations: 71.44 kB / 0.9638 GB, free: 480 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001593/0.7954, allocations: 103.6 kB / 0.9639 GB, free: 424 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.7964, allocations: 0.5809 MB / 0.9644 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.66e-05/0.7965, allocations: 40.88 kB / 0.9645 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.7966, allocations: 53.91 kB / 0.9645 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006729/0.7973, allocations: 408.9 kB / 0.9649 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.7973, allocations: 5.031 kB / 0.9649 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.081e-05/0.7974, allocations: 10.69 kB / 0.9649 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.7974, allocations: 8.812 kB / 0.9649 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000441/0.7978, allocations: 246.9 kB / 0.9652 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003419/0.8013, allocations: 2.489 MB / 0.9676 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/0.8028, allocations: 0.55 MB / 0.9682 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.8029, allocations: 6.609 kB / 0.9682 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.8029, allocations: 39.83 kB / 0.9682 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 2.635e-06/0.8029, allocations: 0.875 kB / 0.9682 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.001999/0.8049, allocations: 0.8876 MB / 0.9691 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.805, allocations: 58.25 kB / 0.9691 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/0.8062, allocations: 0.8839 MB / 0.97 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.342e-05/0.8063, allocations: 41.33 kB / 0.97 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003225/0.8066, allocations: 362.4 kB / 0.9704 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.8067, allocations: 117 kB / 0.9705 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-05/0.8068, allocations: 19.78 kB / 0.9705 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001965/0.807, allocations: 400.5 kB / 0.9709 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004303/0.8074, allocations: 242.9 kB / 0.9711 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006902/0.8081, allocations: 0.6359 MB / 0.9717 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000536/0.8087, allocations: 335.9 kB / 0.9721 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.8087, allocations: 8.469 kB / 0.9721 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001657/0.8103, allocations: 1.016 MB / 0.9731 GB, free: 9.477 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.8104, allocations: 10.84 kB / 0.9731 GB, free: 9.477 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/0.8104, allocations: 13.62 kB / 0.9731 GB, free: 9.477 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004458/0.8109, allocations: 126 kB / 0.9732 GB, free: 9.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006769/0.8115, allocations: 195.5 kB / 0.9734 GB, free: 9.359 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003596/0.8151, allocations: 4.191 MB / 0.9775 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.8165, allocations: 115.5 kB / 0.9776 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-05/0.8166, allocations: 47.53 kB / 0.9776 GB, free: 5.07 MB / 0.7325 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.0004341/0.817, allocations: 263.1 kB / 0.9779 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.8171, allocations: 83.64 kB / 0.978 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001294/0.8173, allocations: 78.47 kB / 0.978 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.8173, allocations: 6.984 kB / 0.978 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.324e-05/0.8173, allocations: 1.094 kB / 0.978 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.8173, allocations: 5.016 kB / 0.9781 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009419/0.8183, allocations: 0.6435 MB / 0.9787 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.8183, allocations: 0 / 0.9787 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003559/0.8186, allocations: 65.48 kB / 0.9787 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003254/0.819, allocations: 100.8 kB / 0.9788 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.369e-05/0.819, allocations: 16.25 kB / 0.9789 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00357/0.8226, allocations: 4.166 MB / 0.9829 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.8226, allocations: 1.031 kB / 0.9829 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001533/0.8242, allocations: 0.7382 MB / 0.9836 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005117/0.8247, allocations: 203.8 kB / 0.9838 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.8248, allocations: 11.95 kB / 0.9839 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004754/0.8253, allocations: 32.48 kB / 0.9839 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.644e-05/0.8254, allocations: 30.44 kB / 0.9839 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.8254, allocations: 8.375 kB / 0.9839 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000929/0.8264, allocations: 0.5928 MB / 0.9845 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8264, allocations: 0 / 0.9845 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001024/0.8274, allocations: 271.7 kB / 0.9848 GB, free: 14.64 MB / 0.7481 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.001489/0.8289, allocations: 1.296 MB / 0.986 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001538/0.8304, allocations: 0.9171 MB / 0.9869 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.8305, allocations: 0 / 0.9869 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006444/0.8311, allocations: 0.5201 MB / 0.9874 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008221/0.8319, allocations: 167.5 kB / 0.9876 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006822/0.8388, allocations: 12.2 MB / 0.9995 GB, free: 15.09 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000562/0.8394, allocations: 1.007 MB / 1 GB, free: 14.05 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0004313/0.8398, allocations: 133.3 kB / 1.001 GB, free: 13.92 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000345/0.8402, allocations: 271.3 kB / 1.001 GB, free: 13.66 MB / 0.7637 GB Notification: Performance of SimCode: time 5.71e-07/0.8402, allocations: 0 / 1.001 GB, free: 13.66 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03429/0.8745, allocations: 15.85 MB / 1.016 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003448/0.8749, allocations: 199.8 kB / 1.017 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.183/3.058, allocations: 4.062 kB / 1.017 GB, free: 13.85 MB / 0.7794 GB (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat does not exist to compare? outputFormat=mat