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.362/2.362, allocations: 387.4 MB / 394.9 MB, free: 13.42 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.001117/0.001117, allocations: 188.7 kB / 487.4 MB, free: 5.051 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.429/1.429, allocations: 221.5 MB / 0.7824 GB, free: 0.957 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009062/0.0009061, allocations: 107.8 kB / 0.9219 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.762e-05/1.763e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2721, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8956/1.168, allocations: 158.2 MB / 1.361 GB, free: 18.03 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/1.168, allocations: 79.44 kB / 1.361 GB, free: 18.03 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.09968/1.268, allocations: 28.4 MB / 1.388 GB, free: 27.16 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.783e-06/1.268, allocations: 0 / 1.388 GB, free: 27.16 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.012e-05/1.268, allocations: 19.19 kB / 1.388 GB, free: 27.16 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.001269/1.269, allocations: 0.9378 MB / 1.389 GB, free: 26.48 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/1.269, allocations: 7.781 kB / 1.389 GB, free: 26.48 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001887/1.269, allocations: 104.8 kB / 1.389 GB, free: 26.43 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001815/1.271, allocations: 1.052 MB / 1.39 GB, free: 25.96 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/1.271, allocations: 11.7 kB / 1.39 GB, free: 25.96 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.708e-05/1.271, allocations: 46.55 kB / 1.39 GB, free: 25.95 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003/1.272, allocations: 189.3 kB / 1.391 GB, free: 25.93 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004228/1.272, allocations: 352.6 kB / 1.391 GB, free: 25.76 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/1.272, allocations: 0 / 1.391 GB, free: 25.76 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.731e-05/1.272, allocations: 3.812 kB / 1.391 GB, free: 25.76 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/1.272, allocations: 7.781 kB / 1.391 GB, free: 25.76 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00255/1.275, allocations: 2.488 MB / 1.393 GB, free: 23.87 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/1.276, allocations: 0.5281 MB / 1.394 GB, free: 23.75 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/1.276, allocations: 147.6 kB / 1.394 GB, free: 23.73 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/1.276, allocations: 3.906 kB / 1.394 GB, free: 23.73 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.57e-05/1.276, allocations: 37.5 kB / 1.394 GB, free: 23.69 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=30): time 1.984e-06/1.276, allocations: 3.812 kB / 1.394 GB, free: 23.69 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30): time 0.0007177/1.277, allocations: 433.3 kB / 1.395 GB, free: 23.52 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.224e-05/1.277, allocations: 62.5 kB / 1.395 GB, free: 23.46 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007557/1.278, allocations: 0.7468 MB / 1.395 GB, free: 23.24 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/1.278, allocations: 25.7 kB / 1.395 GB, free: 23.21 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002018/1.278, allocations: 363 kB / 1.396 GB, free: 23.04 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.000116/1.278, allocations: 116.2 kB / 1.396 GB, free: 22.95 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.411e-05/1.278, allocations: 0 / 1.396 GB, free: 22.95 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001427/1.278, allocations: 390.8 kB / 1.396 GB, free: 22.61 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002653/1.278, allocations: 213.5 kB / 1.396 GB, free: 22.59 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004052/1.279, allocations: 0.6088 MB / 1.397 GB, free: 22.03 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003416/1.279, allocations: 311.9 kB / 1.397 GB, free: 21.94 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/1.279, allocations: 7.344 kB / 1.397 GB, free: 21.94 MB / 0.8386 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001089/1.28, allocations: 0.8922 MB / 1.398 GB, free: 21.64 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/1.28, allocations: 11.69 kB / 1.398 GB, free: 21.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/1.28, allocations: 11.53 kB / 1.398 GB, free: 21.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003395/1.281, allocations: 118.2 kB / 1.398 GB, free: 21.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005568/1.281, allocations: 196.8 kB / 1.398 GB, free: 21.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002516/1.284, allocations: 4.037 MB / 1.402 GB, free: 17.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/1.285, allocations: 125 kB / 1.403 GB, free: 17.67 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.44e-05/1.285, allocations: 41.09 kB / 1.403 GB, free: 17.67 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.0001292/1.285, allocations: 139.9 kB / 1.403 GB, free: 17.54 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005608/1.286, allocations: 429 kB / 1.403 GB, free: 17.38 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/1.286, allocations: 85.28 kB / 1.403 GB, free: 17.32 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002199/1.286, allocations: 77.2 kB / 1.403 GB, free: 17.29 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/1.286, allocations: 3.656 kB / 1.403 GB, free: 17.29 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/1.286, allocations: 0 / 1.403 GB, free: 17.29 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/1.286, allocations: 3.984 kB / 1.403 GB, free: 17.29 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006271/1.287, allocations: 0.66 MB / 1.404 GB, free: 16.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/1.287, allocations: 3.938 kB / 1.404 GB, free: 16.91 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003102/1.287, allocations: 66.08 kB / 1.404 GB, free: 16.89 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002513/1.287, allocations: 98.62 kB / 1.404 GB, free: 16.84 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/1.287, allocations: 6.828 kB / 1.404 GB, free: 16.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00241/1.29, allocations: 4.01 MB / 1.408 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.29, allocations: 3.812 kB / 1.408 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000815/1.291, allocations: 0.687 MB / 1.409 GB, free: 12.76 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002704/1.291, allocations: 214.1 kB / 1.409 GB, free: 12.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.191e-05/1.291, allocations: 7.766 kB / 1.409 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006356/1.292, allocations: 31.02 kB / 1.409 GB, free: 12.58 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.899e-05/1.292, allocations: 27.11 kB / 1.409 GB, free: 12.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/1.292, allocations: 11.48 kB / 1.409 GB, free: 12.57 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0005562/1.292, allocations: 0.5502 MB / 1.409 GB, free: 12.42 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.1e-07/1.292, allocations: 0 / 1.409 GB, free: 12.42 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0008963/1.293, allocations: 288 kB / 1.41 GB, free: 12.41 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.001106/1.294, allocations: 1.294 MB / 1.411 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001009/1.295, allocations: 0.8368 MB / 1.412 GB, free: 11.16 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.295, allocations: 4.188 kB / 1.412 GB, free: 11.15 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004341/1.296, allocations: 495.3 kB / 1.412 GB, free: 10.81 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000682/1.297, allocations: 148.7 kB / 1.412 GB, free: 10.77 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002333/1.299, allocations: 1.53 MB / 1.414 GB, free: 9.844 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004702/1.299, allocations: 1.007 MB / 1.415 GB, free: 9.008 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003608/1.3, allocations: 146.5 kB / 1.415 GB, free: 8.945 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002796/1.3, allocations: 281.5 kB / 1.415 GB, free: 8.91 MB / 0.8386 GB Notification: Performance of SimCode: time 3.51e-07/1.3, allocations: 0 / 1.415 GB, free: 8.91 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03931/1.339, allocations: 15.42 MB / 1.43 GB, free: 9.863 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002221/1.34, allocations: 143.8 kB / 1.431 GB, free: 9.668 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.234/3.574, allocations: 0 / 1.431 GB, free: 9.668 MB / 0.8542 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