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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.141/2.141, allocations: 387.1 MB / 399.7 MB, free: 9.508 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 168.9 kB / 492.3 MB, free: 0.6406 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 221.3 MB / 0.7871 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008582/0.0008583, allocations: 95.25 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.749e-05/2.753e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2547, allocations: 142.3 MB / 1.212 GB, free: 38.47 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9112/1.166, allocations: 158.9 MB / 1.368 GB, free: 19.07 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/1.166, allocations: 73.83 kB / 1.368 GB, free: 19.07 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1013/1.268, allocations: 29.01 MB / 1.396 GB, free: 26.83 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.021e-06/1.268, allocations: 0 / 1.396 GB, free: 26.83 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.051e-05/1.268, allocations: 19.53 kB / 1.396 GB, free: 26.83 MB / 0.8386 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.001297/1.269, allocations: 0.9462 MB / 1.397 GB, free: 26.15 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/1.269, allocations: 7.5 kB / 1.397 GB, free: 26.15 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.004e-05/1.269, allocations: 66.23 kB / 1.397 GB, free: 26.11 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001892/1.269, allocations: 105.2 kB / 1.397 GB, free: 26.05 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00189/1.271, allocations: 1.054 MB / 1.398 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.995e-05/1.271, allocations: 47.16 kB / 1.398 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.221e-05/1.271, allocations: 55.72 kB / 1.398 GB, free: 25.56 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005071/1.272, allocations: 396.6 kB / 1.399 GB, free: 25.4 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/1.272, allocations: 4 kB / 1.399 GB, free: 25.39 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.809e-05/1.272, allocations: 10.81 kB / 1.399 GB, free: 25.39 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/1.272, allocations: 11.66 kB / 1.399 GB, free: 25.39 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002932/1.272, allocations: 217.8 kB / 1.399 GB, free: 25.37 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002493/1.275, allocations: 2.578 MB / 1.401 GB, free: 22.98 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/1.276, allocations: 0.5338 MB / 1.402 GB, free: 22.56 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001914/1.276, allocations: 156.4 kB / 1.402 GB, free: 22.45 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/1.276, allocations: 0 / 1.402 GB, free: 22.45 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/1.276, allocations: 42.44 kB / 1.402 GB, free: 22.4 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=30): time 1.192e-06/1.276, allocations: 0 / 1.402 GB, free: 22.4 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30): time 0.0007383/1.277, allocations: 464.3 kB / 1.403 GB, free: 22.02 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/1.277, allocations: 55.41 kB / 1.403 GB, free: 21.95 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009006/1.278, allocations: 0.8117 MB / 1.403 GB, free: 21.34 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.689e-05/1.278, allocations: 39.7 kB / 1.403 GB, free: 21.3 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002424/1.278, allocations: 355.3 kB / 1.404 GB, free: 21.09 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.128e-05/1.278, allocations: 121.4 kB / 1.404 GB, free: 20.99 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.673e-05/1.278, allocations: 21 kB / 1.404 GB, free: 20.98 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001435/1.279, allocations: 392.1 kB / 1.404 GB, free: 20.62 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002986/1.279, allocations: 231.5 kB / 1.404 GB, free: 20.46 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004512/1.279, allocations: 0.6302 MB / 1.405 GB, free: 19.73 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003828/1.28, allocations: 331.2 kB / 1.405 GB, free: 19.48 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/1.28, allocations: 4 kB / 1.405 GB, free: 19.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00125/1.281, allocations: 0.9929 MB / 1.406 GB, free: 18.66 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/1.281, allocations: 8 kB / 1.406 GB, free: 18.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/1.281, allocations: 16.56 kB / 1.406 GB, free: 18.63 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003702/1.281, allocations: 120.9 kB / 1.407 GB, free: 18.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005454/1.282, allocations: 194.6 kB / 1.407 GB, free: 18.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002513/1.284, allocations: 4.159 MB / 1.411 GB, free: 13.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/1.286, allocations: 136.8 kB / 1.411 GB, free: 13.87 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.581e-05/1.286, allocations: 43.69 kB / 1.411 GB, free: 13.84 MB / 0.8386 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 () * 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.0001335/1.286, allocations: 166.4 kB / 1.411 GB, free: 13.68 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.562e-05/1.286, allocations: 78.97 kB / 1.411 GB, free: 13.61 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001402/1.286, allocations: 76.28 kB / 1.411 GB, free: 13.56 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/1.286, allocations: 4 kB / 1.411 GB, free: 13.55 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/1.286, allocations: 3.984 kB / 1.411 GB, free: 13.55 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/1.286, allocations: 0 / 1.411 GB, free: 13.55 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007653/1.287, allocations: 0.7137 MB / 1.412 GB, free: 12.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/1.287, allocations: 0 / 1.412 GB, free: 12.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003173/1.287, allocations: 59.95 kB / 1.412 GB, free: 12.89 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002822/1.288, allocations: 107.8 kB / 1.412 GB, free: 12.79 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.003e-05/1.288, allocations: 15.73 kB / 1.412 GB, free: 12.78 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002878/1.29, allocations: 4.119 MB / 1.416 GB, free: 8.492 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.29, allocations: 3.984 kB / 1.416 GB, free: 8.488 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009956/1.291, allocations: 0.7274 MB / 1.417 GB, free: 7.887 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003582/1.292, allocations: 218.5 kB / 1.417 GB, free: 7.676 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.392e-05/1.292, allocations: 14.86 kB / 1.417 GB, free: 7.668 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000632/1.293, allocations: 39.39 kB / 1.417 GB, free: 7.633 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/1.293, allocations: 23.66 kB / 1.417 GB, free: 7.613 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/1.293, allocations: 7.984 kB / 1.417 GB, free: 7.605 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0007489/1.293, allocations: 0.5961 MB / 1.418 GB, free: 7.164 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.21e-07/1.293, allocations: 4 kB / 1.418 GB, free: 7.16 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009394/1.294, allocations: 292.3 kB / 1.418 GB, free: 6.895 MB / 0.8386 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 () * 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.001338/1.296, allocations: 1.339 MB / 1.419 GB, free: 5.688 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001259/1.297, allocations: 0.8934 MB / 1.42 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.297, allocations: 0 / 1.42 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0005362/1.298, allocations: 0.5155 MB / 1.421 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000685/1.298, allocations: 157.4 kB / 1.421 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002539/1.301, allocations: 1.574 MB / 1.422 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005742/1.301, allocations: 1.006 MB / 1.423 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003953/1.302, allocations: 149.9 kB / 1.424 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003106/1.302, allocations: 281 kB / 1.424 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of SimCode: time 5.21e-07/1.302, allocations: 0 / 1.424 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0337/1.336, allocations: 18.05 MB / 1.441 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001626/1.336, allocations: 174 kB / 1.442 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.5/3.836, allocations: 3.25 kB / 1.442 GB, free: 15.54 MB / 0.8698 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