Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_Buildings_HeatTransfer_Examples_ConductorMultiLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,fileNamePrefix="Buildings_10_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.001232/0.001232, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001166/0.001166, allocations: 194.5 kB / 16.14 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.195/1.195, allocations: 222.9 MB / 239.8 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.223/2.223, allocations: 437 MB / 0.7099 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 63.91 kB / 0.8686 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4555/0.4566, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.003301/0.46, allocations: 2.781 MB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003257/0.4632, allocations: 2.811 MB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002073/0.4635, allocations: 7.938 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001162/0.4646, allocations: 454.4 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004477/0.4651, allocations: 251 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007129/0.4658, allocations: 327.3 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001603/0.4674, allocations: 1.715 MB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.4676, allocations: 121.7 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005483/0.4682, allocations: 410.7 kB / 1.025 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005017/0.4687, allocations: 398.6 kB / 1.026 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.621e-05/0.4688, allocations: 24 kB / 1.026 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.812e-05/0.4689, allocations: 28 kB / 1.026 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002079/0.4691, allocations: 231.3 kB / 1.026 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003034/0.4694, allocations: 334.2 kB / 1.026 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005991/0.47, allocations: 0.8761 MB / 1.027 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.47, allocations: 4 kB / 1.027 GB, free: 8.016 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.31e-07/0.47, allocations: 4 kB / 1.027 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.382e-05/0.47, allocations: 0 / 1.027 GB, free: 8.012 MB / 0.7794 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.001803/0.4719, allocations: 1.146 MB / 1.028 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.4719, allocations: 8.031 kB / 1.028 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.977e-05/0.472, allocations: 58.72 kB / 1.028 GB, free: 6.742 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.4721, allocations: 80 kB / 1.028 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008104/0.4729, allocations: 0.6525 MB / 1.029 GB, free: 5.969 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.4729, allocations: 32.94 kB / 1.029 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.602e-05/0.473, allocations: 40.38 kB / 1.029 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004685/0.4735, allocations: 374.6 kB / 1.029 GB, free: 5.512 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.4735, allocations: 4 kB / 1.029 GB, free: 5.508 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.4735, allocations: 4 kB / 1.03 GB, free: 5.504 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.4735, allocations: 11.98 kB / 1.03 GB, free: 5.492 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003385/0.4739, allocations: 237.5 kB / 1.03 GB, free: 5.262 MB / 0.7794 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.00304/0.4769, allocations: 2.451 MB / 1.032 GB, free: 2.621 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008763/0.4778, allocations: 406.4 kB / 1.033 GB, free: 2.215 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001856/0.478, allocations: 136.8 kB / 1.033 GB, free: 2.078 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.478, allocations: 0 / 1.033 GB, free: 2.078 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.478, allocations: 42.56 kB / 1.033 GB, free: 2.027 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 9.82e-07/0.478, allocations: 0 / 1.033 GB, free: 2.027 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0008178/0.4789, allocations: 0.5352 MB / 1.033 GB, free: 1.465 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/0.4789, allocations: 59.34 kB / 1.033 GB, free: 1.395 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009745/0.4799, allocations: 0.9376 MB / 1.034 GB, free: 460 kB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.4799, allocations: 29.7 kB / 1.034 GB, free: 424 kB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002041/0.4801, allocations: 304.4 kB / 1.035 GB, free: 116 kB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.185e-05/0.4802, allocations: 71.09 kB / 1.035 GB, free: 44 kB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.4803, allocations: 118.2 kB / 1.035 GB, free: 15.92 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.4805, allocations: 382.7 kB / 1.035 GB, free: 15.54 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003163/0.4808, allocations: 244.9 kB / 1.035 GB, free: 15.3 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004319/0.4812, allocations: 0.5052 MB / 1.036 GB, free: 14.66 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006893/0.4819, allocations: 0.6956 MB / 1.036 GB, free: 13.84 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.4819, allocations: 4 kB / 1.036 GB, free: 13.84 MB / 0.795 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00104/0.483, allocations: 0.8156 MB / 1.037 GB, free: 13.01 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.483, allocations: 14.28 kB / 1.037 GB, free: 13 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.483, allocations: 12 kB / 1.037 GB, free: 12.99 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001654/0.4832, allocations: 61.31 kB / 1.037 GB, free: 12.93 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004111/0.4836, allocations: 131.8 kB / 1.037 GB, free: 12.8 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009468/0.4846, allocations: 1.444 MB / 1.039 GB, free: 11.22 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005857/0.4852, allocations: 127.2 kB / 1.039 GB, free: 11.1 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-05/0.4852, allocations: 28 kB / 1.039 GB, free: 11.07 MB / 0.795 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.0002844/0.4855, allocations: 341.9 kB / 1.039 GB, free: 10.73 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.255e-05/0.4856, allocations: 63.16 kB / 1.039 GB, free: 10.66 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.424e-05/0.4857, allocations: 74.03 kB / 1.039 GB, free: 10.59 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.4857, allocations: 4 kB / 1.039 GB, free: 10.58 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.4857, allocations: 0 / 1.039 GB, free: 10.58 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-06/0.4857, allocations: 0 / 1.039 GB, free: 10.58 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005341/0.4863, allocations: 0.5791 MB / 1.04 GB, free: 9.953 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.4863, allocations: 0 / 1.04 GB, free: 9.953 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002278/0.4865, allocations: 51.95 kB / 1.04 GB, free: 9.902 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000108/0.4866, allocations: 32.83 kB / 1.04 GB, free: 9.867 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.4866, allocations: 15.94 kB / 1.04 GB, free: 9.852 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008565/0.4875, allocations: 1.42 MB / 1.042 GB, free: 8.297 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4875, allocations: 4.156 kB / 1.042 GB, free: 8.293 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006466/0.4882, allocations: 0.5616 MB / 1.042 GB, free: 7.711 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002075/0.4884, allocations: 200.3 kB / 1.042 GB, free: 7.496 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.592e-05/0.4885, allocations: 8 kB / 1.042 GB, free: 7.488 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003744/0.4888, allocations: 47.83 kB / 1.042 GB, free: 7.441 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/0.4889, allocations: 19.98 kB / 1.042 GB, free: 7.422 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.4889, allocations: 4 kB / 1.042 GB, free: 7.418 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0007164/0.4896, allocations: 0.659 MB / 1.043 GB, free: 6.766 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4896, allocations: 0 / 1.043 GB, free: 6.766 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0005336/0.4902, allocations: 183.8 kB / 1.043 GB, free: 6.586 MB / 0.795 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.0008683/0.4911, allocations: 1.12 MB / 1.044 GB, free: 5.434 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0007222/0.4918, allocations: 0.5708 MB / 1.045 GB, free: 4.852 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4918, allocations: 7.938 kB / 1.045 GB, free: 4.844 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002799/0.4921, allocations: 246.5 kB / 1.045 GB, free: 4.59 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007258/0.4928, allocations: 166.8 kB / 1.045 GB, free: 4.426 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008412/0.5012, allocations: 7.187 MB / 1.052 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004751/0.5017, allocations: 1.01 MB / 1.053 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003601/0.5021, allocations: 180.5 kB / 1.053 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002537/0.5024, allocations: 215.3 kB / 1.054 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of SimCode: time 1.433e-06/0.5024, allocations: 0 / 1.054 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8558/1.358, allocations: 13.58 MB / 1.067 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002373/1.358, allocations: 226.4 kB / 1.067 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.967/3.326, allocations: 0 / 1.067 GB, free: 13.89 MB / 0.8262 GB (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat --tempDir=temp_Buildings_10_Buildings_HeatTransfer_Examples_ConductorMultiLayer2_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_HeatTransfer_Examples_ConductorMultiLayer2.fmu > Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1)