Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.ConductorMultiLayer,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Examples_ConductorMultiLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer,fileNamePrefix="Buildings_8_Buildings_HeatTransfer_Examples_ConductorMultiLayer",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.001746/0.001746, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003255/0.003255, allocations: 188.6 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.593/1.593, allocations: 205.1 MB / 222.5 MB, free: 4.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.852/1.852, allocations: 292.3 MB / 0.549 GB, free: 12.74 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 63.95 kB / 0.6717 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2335, allocations: 114.6 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.004292/0.2378, allocations: 2.743 MB / 0.7863 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003875/0.2417, allocations: 2.805 MB / 0.789 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000241/0.242, allocations: 7.938 kB / 0.789 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.2433, allocations: 0.4902 MB / 0.7895 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005013/0.2439, allocations: 258.9 kB / 0.7898 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009854/0.2449, allocations: 398.1 kB / 0.7901 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001702/0.2466, allocations: 1.528 MB / 0.7916 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002425/0.2468, allocations: 134.3 kB / 0.7918 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006223/0.2474, allocations: 470.9 kB / 0.7922 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005681/0.248, allocations: 394.5 kB / 0.7926 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.079e-05/0.2481, allocations: 48 kB / 0.7926 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.353e-05/0.2482, allocations: 48 kB / 0.7927 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003102/0.2485, allocations: 279.3 kB / 0.7929 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003759/0.2489, allocations: 374.1 kB / 0.7933 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007849/0.2497, allocations: 0.9152 MB / 0.7942 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.2497, allocations: 0 / 0.7942 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2497, allocations: 0 / 0.7942 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.2497, allocations: 0 / 0.7942 GB, free: 2.387 MB / 0.6075 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.001987/0.2517, allocations: 1.144 MB / 0.7953 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.804e-05/0.2518, allocations: 12.03 kB / 0.7953 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.041e-05/0.2519, allocations: 62.67 kB / 0.7954 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000133/0.252, allocations: 72.09 kB / 0.7955 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.2531, allocations: 0.6759 MB / 0.7961 GB, free: 328 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.083e-05/0.2532, allocations: 32.88 kB / 0.7961 GB, free: 296 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.635e-05/0.2532, allocations: 40.36 kB / 0.7962 GB, free: 256 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005648/0.2538, allocations: 378.7 kB / 0.7965 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.2538, allocations: 0 / 0.7965 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/0.2539, allocations: 11.94 kB / 0.7966 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.2539, allocations: 8 kB / 0.7966 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003705/0.2543, allocations: 229.5 kB / 0.7968 GB, free: 15.61 MB / 0.6231 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.003402/0.2577, allocations: 2.459 MB / 0.7992 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009784/0.2587, allocations: 406.3 kB / 0.7996 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/0.2589, allocations: 140.8 kB / 0.7997 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.2589, allocations: 4 kB / 0.7997 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.259, allocations: 34.55 kB / 0.7997 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=18): time 1.643e-06/0.259, allocations: 0 / 0.7997 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of matching and sorting (n=18): time 0.0009995/0.26, allocations: 0.5364 MB / 0.8003 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.26, allocations: 51.41 kB / 0.8003 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/0.2612, allocations: 0.9336 MB / 0.8012 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/0.2612, allocations: 37.7 kB / 0.8013 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002317/0.2614, allocations: 300.5 kB / 0.8015 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.375e-05/0.2615, allocations: 66.95 kB / 0.8016 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.2617, allocations: 126.1 kB / 0.8017 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.2619, allocations: 390.7 kB / 0.8021 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003353/0.2622, allocations: 240.9 kB / 0.8023 GB, free: 9.637 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005013/0.2627, allocations: 0.4936 MB / 0.8028 GB, free: 9.016 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007618/0.2635, allocations: 0.6985 MB / 0.8035 GB, free: 8.188 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.2635, allocations: 0 / 0.8035 GB, free: 8.188 MB / 0.6231 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001192/0.2647, allocations: 0.8158 MB / 0.8043 GB, free: 7.363 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.2647, allocations: 8 kB / 0.8043 GB, free: 7.355 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.2648, allocations: 11.98 kB / 0.8043 GB, free: 7.344 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002054/0.265, allocations: 53.42 kB / 0.8044 GB, free: 7.289 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004538/0.2654, allocations: 147.7 kB / 0.8045 GB, free: 7.145 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/0.2667, allocations: 1.542 MB / 0.806 GB, free: 5.457 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006631/0.2674, allocations: 123.2 kB / 0.8061 GB, free: 5.336 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.641e-05/0.2674, allocations: 28 kB / 0.8062 GB, free: 5.309 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000365/0.2678, allocations: 333.5 kB / 0.8065 GB, free: 4.973 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.101e-05/0.2679, allocations: 67.28 kB / 0.8065 GB, free: 4.906 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001159/0.268, allocations: 70 kB / 0.8066 GB, free: 4.832 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.268, allocations: 0 / 0.8066 GB, free: 4.832 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.268, allocations: 3.938 kB / 0.8066 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.268, allocations: 3.984 kB / 0.8066 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006634/0.2687, allocations: 0.5752 MB / 0.8072 GB, free: 4.199 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.2687, allocations: 7.875 kB / 0.8072 GB, free: 4.191 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000239/0.269, allocations: 55.89 kB / 0.8072 GB, free: 4.137 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001215/0.2691, allocations: 44.81 kB / 0.8073 GB, free: 4.09 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/0.2691, allocations: 8 kB / 0.8073 GB, free: 4.082 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001127/0.2703, allocations: 1.527 MB / 0.8088 GB, free: 2.414 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2703, allocations: 4.031 kB / 0.8088 GB, free: 2.41 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000751/0.271, allocations: 0.5616 MB / 0.8093 GB, free: 1.828 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002529/0.2713, allocations: 200.4 kB / 0.8095 GB, free: 1.613 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.568e-05/0.2714, allocations: 15.98 kB / 0.8095 GB, free: 1.598 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003664/0.2718, allocations: 47.86 kB / 0.8096 GB, free: 1.551 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.2718, allocations: 11.98 kB / 0.8096 GB, free: 1.539 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.2718, allocations: 4 kB / 0.8096 GB, free: 1.535 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008352/0.2727, allocations: 0.659 MB / 0.8102 GB, free: 0.8828 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.31e-07/0.2727, allocations: 0 / 0.8102 GB, free: 0.8828 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006095/0.2733, allocations: 183.8 kB / 0.8104 GB, free: 0.7031 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009928/0.2743, allocations: 1.125 MB / 0.8115 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0008652/0.2752, allocations: 0.5738 MB / 0.8121 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2752, allocations: 0.75 kB / 0.8121 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003185/0.2755, allocations: 254.5 kB / 0.8123 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008175/0.2764, allocations: 162.1 kB / 0.8125 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008417/0.2848, allocations: 6.906 MB / 0.8192 GB, free: 7.305 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006348/0.2855, allocations: 1.007 MB / 0.8202 GB, free: 6.27 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004237/0.2859, allocations: 180.5 kB / 0.8204 GB, free: 6.09 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002861/0.2862, allocations: 207.4 kB / 0.8206 GB, free: 5.891 MB / 0.6387 GB Notification: Performance of SimCode: time 7.31e-07/0.2862, allocations: 0 / 0.8206 GB, free: 5.891 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03637/0.3226, allocations: 14.1 MB / 0.8343 GB, free: 8.031 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.73, allocations: 3.406 kB / 0.8343 GB, free: 8.031 MB / 0.6544 GB (rm -f Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_HeatTransfer_Examples_ConductorMultiLayer.fmu > Buildings_8_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1)