Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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.ConductorMultiLayer3,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer3",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.0009378/0.0009378, allocations: 86.41 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.001128/0.001128, 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.417/1.417, allocations: 223.2 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.572/2.572, allocations: 409.4 MB / 0.684 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003501/0.0003505, allocations: 11.98 kB / 0.8378 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6959/0.6962, allocations: 146.8 MB / 0.9811 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.002762/0.699, allocations: 2.332 MB / 0.9834 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003615/0.7027, allocations: 2.595 MB / 0.9859 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000277/0.703, allocations: 4 kB / 0.9859 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001427/0.7044, allocations: 434.4 kB / 0.9863 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005867/0.705, allocations: 227 kB / 0.9866 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009758/0.706, allocations: 298.4 kB / 0.9868 GB, free: 372 kB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001999/0.708, allocations: 1.559 MB / 0.9884 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002291/0.7083, allocations: 117.7 kB / 0.9885 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006497/0.7089, allocations: 446.8 kB / 0.9889 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005142/0.7095, allocations: 386.7 kB / 0.9893 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 5.087e-05/0.7095, allocations: 24 kB / 0.9893 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 7.541e-05/0.7096, allocations: 20 kB / 0.9893 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000235/0.7098, allocations: 235.3 kB / 0.9895 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001553/0.71, allocations: 161.3 kB / 0.9897 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0006159/0.7106, allocations: 0.7209 MB / 0.9904 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.7106, allocations: 0 / 0.9904 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7106, allocations: 4 kB / 0.9904 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.889e-06/0.7107, allocations: 0 / 0.9904 GB, free: 12.7 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.001749/0.7124, allocations: 1.031 MB / 0.9914 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.7125, allocations: 16.03 kB / 0.9914 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.362e-05/0.7125, allocations: 62.53 kB / 0.9915 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.7127, allocations: 75.06 kB / 0.9916 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008427/0.7135, allocations: 0.636 MB / 0.9922 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.7135, allocations: 24.56 kB / 0.9922 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.353e-05/0.7136, allocations: 43.98 kB / 0.9922 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005339/0.7141, allocations: 378.7 kB / 0.9926 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.7142, allocations: 0 / 0.9926 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.752e-05/0.7142, allocations: 12 kB / 0.9926 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.7142, allocations: 4 kB / 0.9926 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003788/0.7146, allocations: 237.5 kB / 0.9928 GB, free: 10.07 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.003302/0.7179, allocations: 2.474 MB / 0.9953 GB, free: 7.414 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009264/0.7189, allocations: 398.5 kB / 0.9956 GB, free: 7.016 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002033/0.7191, allocations: 140.8 kB / 0.9958 GB, free: 6.875 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.7191, allocations: 0 / 0.9958 GB, free: 6.875 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.7191, allocations: 38.55 kB / 0.9958 GB, free: 6.828 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=18): time 1.673e-06/0.7191, allocations: 0 / 0.9958 GB, free: 6.828 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18): time 0.0009893/0.7201, allocations: 0.5469 MB / 0.9963 GB, free: 6.254 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.7202, allocations: 51.41 kB / 0.9964 GB, free: 6.191 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.7214, allocations: 0.9297 MB / 0.9973 GB, free: 5.254 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/0.7214, allocations: 33.7 kB / 0.9973 GB, free: 5.215 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002438/0.7217, allocations: 300.5 kB / 0.9976 GB, free: 4.918 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.101e-05/0.7218, allocations: 71.03 kB / 0.9977 GB, free: 4.848 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.571e-05/0.7218, allocations: 8 kB / 0.9977 GB, free: 4.84 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001908/0.722, allocations: 382.8 kB / 0.9981 GB, free: 4.457 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003675/0.7224, allocations: 240.9 kB / 0.9983 GB, free: 4.219 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005166/0.7229, allocations: 0.4975 MB / 0.9988 GB, free: 3.594 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004174/0.7233, allocations: 313 kB / 0.9991 GB, free: 3.289 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.7233, allocations: 0 / 0.9991 GB, free: 3.289 MB / 0.7481 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00118/0.7245, allocations: 0.826 MB / 0.9999 GB, free: 2.453 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.7246, allocations: 13.25 kB / 0.9999 GB, free: 2.441 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.7246, allocations: 11.98 kB / 0.9999 GB, free: 2.43 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002044/0.7248, allocations: 56.81 kB / 1 GB, free: 2.371 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004542/0.7253, allocations: 139.8 kB / 1 GB, free: 2.234 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001174/0.7264, allocations: 1.432 MB / 1.001 GB, free: 0.668 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006748/0.7271, allocations: 127.2 kB / 1.002 GB, free: 0.543 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.905e-05/0.7272, allocations: 28.16 kB / 1.002 GB, free: 0.5156 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.0004056/0.7276, allocations: 349.4 kB / 1.002 GB, free: 168 kB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.719e-05/0.7277, allocations: 59.16 kB / 1.002 GB, free: 108 kB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.7278, allocations: 70 kB / 1.002 GB, free: 32 kB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.7278, allocations: 4 kB / 1.002 GB, free: 28 kB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.7278, allocations: 0 / 1.002 GB, free: 28 kB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.7279, allocations: 4 kB / 1.002 GB, free: 24 kB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007032/0.7286, allocations: 0.5867 MB / 1.003 GB, free: 15.39 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.7286, allocations: 3.953 kB / 1.003 GB, free: 15.38 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002361/0.7288, allocations: 55.95 kB / 1.003 GB, free: 15.33 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001182/0.7289, allocations: 32.83 kB / 1.003 GB, free: 15.29 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/0.729, allocations: 11.98 kB / 1.003 GB, free: 15.28 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009988/0.73, allocations: 1.413 MB / 1.004 GB, free: 13.74 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.73, allocations: 0 / 1.004 GB, free: 13.74 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007143/0.7307, allocations: 0.5804 MB / 1.005 GB, free: 13.14 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000237/0.731, allocations: 208.2 kB / 1.005 GB, free: 12.92 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.851e-05/0.7311, allocations: 8 kB / 1.005 GB, free: 12.91 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003669/0.7314, allocations: 47.91 kB / 1.005 GB, free: 12.86 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.093e-05/0.7315, allocations: 11.98 kB / 1.005 GB, free: 12.85 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.7315, allocations: 8 kB / 1.005 GB, free: 12.84 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0008786/0.7324, allocations: 0.6551 MB / 1.006 GB, free: 12.2 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7324, allocations: 0 / 1.006 GB, free: 12.2 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0006722/0.7331, allocations: 179.8 kB / 1.006 GB, free: 12.02 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.001061/0.7342, allocations: 1.126 MB / 1.007 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0009011/0.7351, allocations: 0.5808 MB / 1.007 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.7351, allocations: 0 / 1.007 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0003342/0.7354, allocations: 254.9 kB / 1.008 GB, free: 10.01 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008432/0.7363, allocations: 164.1 kB / 1.008 GB, free: 9.848 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008947/0.7452, allocations: 5.322 MB / 1.013 GB, free: 4.352 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000729/0.746, allocations: 1.007 MB / 1.014 GB, free: 3.316 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0005399/0.7466, allocations: 188.5 kB / 1.014 GB, free: 3.133 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003491/0.7469, allocations: 199.4 kB / 1.014 GB, free: 2.938 MB / 0.7637 GB Notification: Performance of SimCode: time 1.403e-06/0.7469, allocations: 0 / 1.014 GB, free: 2.938 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02997/0.7769, allocations: 14.44 MB / 1.029 GB, free: 4.781 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001778/0.7771, allocations: 212 kB / 1.029 GB, free: 4.543 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.014/2.791, allocations: 0 / 1.029 GB, free: 4.543 MB / 0.7794 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer3_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorMultiLayer3.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat does not exist to compare? outputFormat=mat