Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.ConductorMultiLayer2,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",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.0009937/0.0009937, allocations: 86.8 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.001268/0.001268, 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.484/1.484, allocations: 223.2 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.687/2.687, allocations: 409.4 MB / 0.684 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000378/0.000378, allocations: 15.94 kB / 0.8378 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7537/0.7541, allocations: 146.8 MB / 0.9811 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.003497/0.7576, allocations: 2.325 MB / 0.9834 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004437/0.7621, allocations: 2.591 MB / 0.9859 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004603/0.7626, allocations: 7.938 kB / 0.9859 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001643/0.7643, allocations: 442.4 kB / 0.9864 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0007641/0.7651, allocations: 227 kB / 0.9866 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.7662, allocations: 294 kB / 0.9868 GB, free: 424 kB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002438/0.7686, allocations: 1.563 MB / 0.9884 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003192/0.769, allocations: 109.7 kB / 0.9885 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001028/0.77, allocations: 450.8 kB / 0.9889 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008527/0.7709, allocations: 386.7 kB / 0.9893 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.771, allocations: 20 kB / 0.9893 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.7712, allocations: 24 kB / 0.9893 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000282/0.7715, allocations: 231.3 kB / 0.9895 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002595/0.7717, allocations: 165.3 kB / 0.9897 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0007097/0.7725, allocations: 0.7209 MB / 0.9904 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.7725, allocations: 0 / 0.9904 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7725, allocations: 0 / 0.9904 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.227e-05/0.7725, allocations: 0 / 0.9904 GB, free: 12.76 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.002444/0.775, allocations: 1.039 MB / 0.9914 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.775, allocations: 8.031 kB / 0.9914 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001134/0.7751, allocations: 66.48 kB / 0.9915 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002276/0.7754, allocations: 75.06 kB / 0.9916 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.7765, allocations: 0.6245 MB / 0.9922 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.986e-05/0.7766, allocations: 28.56 kB / 0.9922 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.29e-05/0.7767, allocations: 36 kB / 0.9922 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007915/0.7775, allocations: 386.6 kB / 0.9926 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.7775, allocations: 0 / 0.9926 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.161e-05/0.7775, allocations: 12 kB / 0.9926 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.7776, allocations: 11.88 kB / 0.9926 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004881/0.7781, allocations: 237.5 kB / 0.9928 GB, free: 10.12 MB / 0.7481 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003794/0.7819, allocations: 2.47 MB / 0.9953 GB, free: 7.469 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009789/0.7829, allocations: 403.9 kB / 0.9956 GB, free: 7.066 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/0.7831, allocations: 136.8 kB / 0.9958 GB, free: 6.93 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.7831, allocations: 0 / 0.9958 GB, free: 6.93 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.7832, allocations: 38.56 kB / 0.9958 GB, free: 6.883 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/0.7832, allocations: 0 / 0.9958 GB, free: 6.883 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18): time 0.001017/0.7842, allocations: 0.5469 MB / 0.9963 GB, free: 6.309 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.7843, allocations: 59.41 kB / 0.9964 GB, free: 6.238 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/0.7856, allocations: 0.9297 MB / 0.9973 GB, free: 5.301 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/0.7856, allocations: 33.7 kB / 0.9973 GB, free: 5.262 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002571/0.7859, allocations: 296.5 kB / 0.9976 GB, free: 4.969 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.575e-05/0.786, allocations: 67.03 kB / 0.9977 GB, free: 4.902 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.478e-05/0.786, allocations: 12 kB / 0.9977 GB, free: 4.891 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.7862, allocations: 378.8 kB / 0.9981 GB, free: 4.512 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003811/0.7866, allocations: 244.9 kB / 0.9983 GB, free: 4.27 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000543/0.7871, allocations: 0.4975 MB / 0.9988 GB, free: 3.645 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000471/0.7876, allocations: 313 kB / 0.9991 GB, free: 3.34 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.7876, allocations: 4 kB / 0.9991 GB, free: 3.336 MB / 0.7481 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001287/0.7889, allocations: 0.822 MB / 0.9999 GB, free: 2.504 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.7889, allocations: 9.406 kB / 0.9999 GB, free: 2.496 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.789, allocations: 12 kB / 0.9999 GB, free: 2.484 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002383/0.7892, allocations: 52.81 kB / 1 GB, free: 2.43 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00047/0.7897, allocations: 144 kB / 1 GB, free: 2.289 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00122/0.7909, allocations: 1.432 MB / 1.001 GB, free: 0.7227 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006858/0.7916, allocations: 135.2 kB / 1.002 GB, free: 0.5898 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.405e-05/0.7917, allocations: 28 kB / 1.002 GB, free: 0.5625 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (63): * Single equations (assignments): 62 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004094/0.7921, allocations: 345.3 kB / 1.002 GB, free: 220 kB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.7922, allocations: 63.16 kB / 1.002 GB, free: 156 kB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001312/0.7924, allocations: 66 kB / 1.002 GB, free: 84 kB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.7924, allocations: 8.062 kB / 1.002 GB, free: 76 kB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.7924, allocations: 3.938 kB / 1.002 GB, free: 72 kB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.7924, allocations: 0 / 1.002 GB, free: 72 kB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000738/0.7931, allocations: 0.583 MB / 1.003 GB, free: 15.44 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.7932, allocations: 3.953 kB / 1.003 GB, free: 15.43 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000239/0.7934, allocations: 47.95 kB / 1.003 GB, free: 15.39 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001243/0.7935, allocations: 40.83 kB / 1.003 GB, free: 15.34 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.823e-05/0.7936, allocations: 15.98 kB / 1.003 GB, free: 15.33 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001112/0.7947, allocations: 1.405 MB / 1.004 GB, free: 13.79 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.7947, allocations: 8.094 kB / 1.004 GB, free: 13.79 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007741/0.7955, allocations: 0.5706 MB / 1.005 GB, free: 13.2 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002654/0.7958, allocations: 204.2 kB / 1.005 GB, free: 12.98 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.065e-05/0.7959, allocations: 8 kB / 1.005 GB, free: 12.97 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003844/0.7963, allocations: 55.91 kB / 1.005 GB, free: 12.91 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.739e-05/0.7963, allocations: 11.98 kB / 1.005 GB, free: 12.9 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.7964, allocations: 8 kB / 1.005 GB, free: 12.89 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0008944/0.7973, allocations: 0.6512 MB / 1.006 GB, free: 12.25 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2e-07/0.7973, allocations: 0 / 1.006 GB, free: 12.25 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0006817/0.798, allocations: 183.8 kB / 1.006 GB, free: 12.07 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * 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 (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001109/0.7991, allocations: 1.125 MB / 1.007 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0009954/0.8001, allocations: 0.5828 MB / 1.007 GB, free: 10.32 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.8001, allocations: 0 / 1.007 GB, free: 10.32 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0003447/0.8004, allocations: 250.5 kB / 1.008 GB, free: 10.06 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008558/0.8013, allocations: 166.1 kB / 1.008 GB, free: 9.902 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009125/0.8105, allocations: 5.331 MB / 1.013 GB, free: 4.398 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006811/0.8112, allocations: 1.003 MB / 1.014 GB, free: 3.367 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.000499/0.8117, allocations: 184.5 kB / 1.014 GB, free: 3.188 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003367/0.812, allocations: 203.4 kB / 1.014 GB, free: 2.988 MB / 0.7637 GB Notification: Performance of SimCode: time 6.62e-07/0.812, allocations: 0 / 1.014 GB, free: 2.988 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03333/0.8454, allocations: 14.44 MB / 1.029 GB, free: 4.828 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002075/0.8456, allocations: 207.9 kB / 1.029 GB, free: 4.594 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.04/2.886, allocations: 0 / 1.029 GB, free: 4.594 MB / 0.7794 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer2.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat does not exist to compare? outputFormat=mat