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.00129/0.00129, allocations: 100.2 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.001344/0.001344, 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.359/1.359, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.438/2.438, allocations: 409.2 MB / 0.6838 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004139/0.0004141, allocations: 8 kB / 0.8375 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8292/0.8297, allocations: 146.8 MB / 0.9808 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.002628/0.8324, allocations: 2.208 MB / 0.983 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003336/0.8357, allocations: 2.541 MB / 0.9855 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001852/0.8359, allocations: 7.938 kB / 0.9855 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001306/0.8372, allocations: 0.5064 MB / 0.986 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003864/0.8376, allocations: 187.4 kB / 0.9862 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007889/0.8384, allocations: 289.8 kB / 0.9864 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001107/0.8396, allocations: 0.8544 MB / 0.9873 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002105/0.8398, allocations: 125.6 kB / 0.9874 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004144/0.8402, allocations: 295.1 kB / 0.9877 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003764/0.8406, allocations: 283 kB / 0.9879 GB, free: 15 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 5.417e-05/0.8406, allocations: 20 kB / 0.988 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 7.208e-05/0.8407, allocations: 23.94 kB / 0.988 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002407/0.841, allocations: 223.4 kB / 0.9882 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001484/0.8411, allocations: 161.3 kB / 0.9884 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0005732/0.8417, allocations: 0.7171 MB / 0.9891 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.8417, allocations: 0 / 0.9891 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.323e-06/0.8417, allocations: 0 / 0.9891 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.8417, allocations: 0 / 0.9891 GB, free: 13.86 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.001846/0.8436, allocations: 1.039 MB / 0.9901 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.8436, allocations: 8.031 kB / 0.9901 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.096e-05/0.8437, allocations: 66.48 kB / 0.9901 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.8439, allocations: 79.05 kB / 0.9902 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.845, allocations: 0.6245 MB / 0.9908 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/0.845, allocations: 28.56 kB / 0.9909 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.687e-05/0.8451, allocations: 36 kB / 0.9909 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000538/0.8456, allocations: 378.7 kB / 0.9913 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.8456, allocations: 0 / 0.9913 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.066e-05/0.8457, allocations: 12 kB / 0.9913 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.8457, allocations: 8 kB / 0.9913 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004102/0.8461, allocations: 233.5 kB / 0.9915 GB, free: 11.24 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.003663/0.8498, allocations: 2.478 MB / 0.9939 GB, free: 8.574 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009689/0.8508, allocations: 398.5 kB / 0.9943 GB, free: 8.176 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.8508, allocations: 7.922 kB / 0.9943 GB, free: 8.168 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.8508, allocations: 30.56 kB / 0.9943 GB, free: 8.129 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/0.8508, allocations: 0 / 0.9943 GB, free: 8.129 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18): time 0.001011/0.8519, allocations: 0.5469 MB / 0.9949 GB, free: 7.555 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.8519, allocations: 55.41 kB / 0.9949 GB, free: 7.488 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.8531, allocations: 0.9297 MB / 0.9958 GB, free: 6.551 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.542e-05/0.8531, allocations: 33.7 kB / 0.9959 GB, free: 6.512 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002586/0.8534, allocations: 308.4 kB / 0.9962 GB, free: 6.207 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.268e-05/0.8535, allocations: 63.11 kB / 0.9962 GB, free: 6.145 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.29e-05/0.8535, allocations: 12 kB / 0.9962 GB, free: 6.133 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.8537, allocations: 374.8 kB / 0.9966 GB, free: 5.758 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003364/0.854, allocations: 240.9 kB / 0.9968 GB, free: 5.52 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004994/0.8545, allocations: 0.4975 MB / 0.9973 GB, free: 4.895 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004225/0.855, allocations: 311.5 kB / 0.9976 GB, free: 4.59 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.855, allocations: 0 / 0.9976 GB, free: 4.59 MB / 0.7481 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001223/0.8562, allocations: 0.8274 MB / 0.9984 GB, free: 3.754 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.8563, allocations: 8.156 kB / 0.9984 GB, free: 3.746 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.8563, allocations: 12 kB / 0.9984 GB, free: 3.734 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000238/0.8565, allocations: 56.81 kB / 0.9985 GB, free: 3.676 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004864/0.857, allocations: 139.8 kB / 0.9986 GB, free: 3.539 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001295/0.8583, allocations: 1.451 MB / 1 GB, free: 1.953 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007297/0.8591, allocations: 127.3 kB / 1 GB, free: 1.828 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.91e-05/0.8591, allocations: 28.25 kB / 1 GB, free: 1.801 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.0004243/0.8595, allocations: 345.3 kB / 1.001 GB, free: 1.453 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.026e-05/0.8596, allocations: 67.11 kB / 1.001 GB, free: 1.387 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/0.8598, allocations: 70 kB / 1.001 GB, free: 1.312 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.8598, allocations: 4 kB / 1.001 GB, free: 1.309 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.8598, allocations: 0 / 1.001 GB, free: 1.309 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.8598, allocations: 0 / 1.001 GB, free: 1.309 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006467/0.8604, allocations: 0.5791 MB / 1.001 GB, free: 0.6797 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.8604, allocations: 0 / 1.001 GB, free: 0.6797 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002479/0.8607, allocations: 59.91 kB / 1.001 GB, free: 0.6211 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001248/0.8608, allocations: 40.77 kB / 1.001 GB, free: 0.5781 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/0.8609, allocations: 8 kB / 1.001 GB, free: 0.5703 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001071/0.8619, allocations: 1.424 MB / 1.003 GB, free: 15.02 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.862, allocations: 3.938 kB / 1.003 GB, free: 15.01 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007829/0.8628, allocations: 0.5789 MB / 1.003 GB, free: 14.41 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002991/0.8631, allocations: 192.4 kB / 1.003 GB, free: 14.21 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.656e-05/0.8631, allocations: 11.98 kB / 1.003 GB, free: 14.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003875/0.8635, allocations: 51.77 kB / 1.004 GB, free: 14.14 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.024e-05/0.8636, allocations: 15.97 kB / 1.004 GB, free: 14.13 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.8636, allocations: 7.938 kB / 1.004 GB, free: 14.12 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0008641/0.8645, allocations: 0.6629 MB / 1.004 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.522e-06/0.8645, allocations: 0 / 1.004 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0006893/0.8652, allocations: 187.8 kB / 1.004 GB, free: 13.28 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.001116/0.8663, allocations: 1.123 MB / 1.005 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00101/0.8674, allocations: 0.5741 MB / 1.006 GB, free: 11.54 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.8674, allocations: 0 / 1.006 GB, free: 11.54 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0003472/0.8677, allocations: 254.8 kB / 1.006 GB, free: 11.28 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008331/0.8686, allocations: 158.8 kB / 1.006 GB, free: 11.12 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00553/0.8741, allocations: 8.583 MB / 1.015 GB, free: 2.309 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000664/0.8748, allocations: 1.034 MB / 1.016 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0004582/0.8753, allocations: 180.5 kB / 1.016 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002935/0.8756, allocations: 203.4 kB / 1.016 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of SimCode: time 6.32e-07/0.8756, allocations: 0 / 1.016 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03053/0.9061, allocations: 14.06 MB / 1.03 GB, free: 3.09 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000196/0.9064, allocations: 211.4 kB / 1.03 GB, free: 2.848 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.036/2.943, allocations: 6.875 kB / 1.03 GB, free: 2.844 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