Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorMultiLayer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorMultiLayer,fileNamePrefix="Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorMultiLayer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.399/1.399, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0017/0.0017, allocations: 181.4 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.822/1.822, allocations: 205.4 MB / 0.5775 GB, free: 20.28 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008261/0.0008262, allocations: 93.05 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004315/0.0004317, allocations: 9.25 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2394, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.003016/0.2425, allocations: 2.198 MB / 0.9023 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003312/0.2459, allocations: 2.582 MB / 0.9048 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002723/0.2462, allocations: 4 kB / 0.9048 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001205/0.2474, allocations: 0.5064 MB / 0.9053 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003787/0.2478, allocations: 187.4 kB / 0.9055 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007455/0.2485, allocations: 289.6 kB / 0.9058 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0008353/0.2494, allocations: 0.8544 MB / 0.9066 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000188/0.2496, allocations: 117.7 kB / 0.9067 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003691/0.25, allocations: 291.1 kB / 0.907 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003364/0.2503, allocations: 290.9 kB / 0.9073 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.563e-05/0.2504, allocations: 24 kB / 0.9073 GB, free: 56.51 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.607e-05/0.2504, allocations: 23.94 kB / 0.9073 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001834/0.2506, allocations: 223.4 kB / 0.9075 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.2507, allocations: 161.3 kB / 0.9077 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004399/0.2512, allocations: 0.717 MB / 0.9084 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.2512, allocations: 0 / 0.9084 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.125e-06/0.2512, allocations: 0 / 0.9084 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.2512, allocations: 0 / 0.9084 GB, free: 55.38 MB / 0.6042 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.001707/0.2529, allocations: 1.035 MB / 0.9094 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.253, allocations: 12.03 kB / 0.9094 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.785e-05/0.2531, allocations: 58.55 kB / 0.9094 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.2532, allocations: 83.02 kB / 0.9095 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009404/0.2541, allocations: 0.636 MB / 0.9101 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.2542, allocations: 24.56 kB / 0.9102 GB, free: 53.43 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.687e-05/0.2542, allocations: 43.98 kB / 0.9102 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004636/0.2547, allocations: 370.8 kB / 0.9106 GB, free: 53 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.2547, allocations: 7.922 kB / 0.9106 GB, free: 52.99 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.2548, allocations: 16 kB / 0.9106 GB, free: 52.98 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.2548, allocations: 4 kB / 0.9106 GB, free: 52.97 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003322/0.2551, allocations: 237.5 kB / 0.9108 GB, free: 52.74 MB / 0.6042 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.2582, allocations: 2.478 MB / 0.9132 GB, free: 50.07 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008648/0.259, allocations: 390.5 kB / 0.9136 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.2591, allocations: 8 kB / 0.9136 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.2591, allocations: 30.56 kB / 0.9136 GB, free: 49.64 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 2.394e-06/0.2591, allocations: 0 / 0.9136 GB, free: 49.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0009188/0.26, allocations: 0.5448 MB / 0.9142 GB, free: 49.07 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.2601, allocations: 55.34 kB / 0.9142 GB, free: 49 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.2611, allocations: 0.9337 MB / 0.9151 GB, free: 48.05 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.2611, allocations: 29.7 kB / 0.9152 GB, free: 48.02 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002163/0.2614, allocations: 304.4 kB / 0.9155 GB, free: 47.72 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.666e-05/0.2614, allocations: 75.05 kB / 0.9155 GB, free: 47.64 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.06e-05/0.2615, allocations: 8 kB / 0.9155 GB, free: 47.64 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.2616, allocations: 378.8 kB / 0.9159 GB, free: 47.26 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002935/0.2619, allocations: 248.8 kB / 0.9161 GB, free: 47.01 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004297/0.2623, allocations: 0.4973 MB / 0.9166 GB, free: 46.39 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003691/0.2627, allocations: 309.7 kB / 0.9169 GB, free: 46.09 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.2627, allocations: 4 kB / 0.9169 GB, free: 46.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009735/0.2637, allocations: 0.817 MB / 0.9177 GB, free: 45.26 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.2637, allocations: 8 kB / 0.9177 GB, free: 45.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.2637, allocations: 12 kB / 0.9177 GB, free: 45.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002041/0.2639, allocations: 57.16 kB / 0.9178 GB, free: 45.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004076/0.2644, allocations: 143.7 kB / 0.9179 GB, free: 45.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009061/0.2653, allocations: 1.452 MB / 0.9194 GB, free: 43.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006695/0.266, allocations: 123.2 kB / 0.9195 GB, free: 43.33 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.512e-05/0.266, allocations: 28 kB / 0.9195 GB, free: 43.3 MB / 0.6042 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.0003704/0.2664, allocations: 337.5 kB / 0.9198 GB, free: 42.96 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.789e-05/0.2665, allocations: 63.16 kB / 0.9199 GB, free: 42.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/0.2666, allocations: 70.19 kB / 0.9199 GB, free: 42.82 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.2666, allocations: 0 / 0.9199 GB, free: 42.82 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.2666, allocations: 11.94 kB / 0.92 GB, free: 42.81 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.2666, allocations: 0 / 0.92 GB, free: 42.81 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005333/0.2671, allocations: 0.5791 MB / 0.9205 GB, free: 42.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.2672, allocations: 3.938 kB / 0.9205 GB, free: 42.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/0.2674, allocations: 51.91 kB / 0.9206 GB, free: 42.13 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001121/0.2675, allocations: 40.81 kB / 0.9206 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.2675, allocations: 12 kB / 0.9206 GB, free: 42.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007555/0.2683, allocations: 1.436 MB / 0.922 GB, free: 40.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2683, allocations: 3.953 kB / 0.922 GB, free: 40.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006019/0.2689, allocations: 0.5617 MB / 0.9226 GB, free: 39.92 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002621/0.2692, allocations: 208.2 kB / 0.9228 GB, free: 39.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.13e-05/0.2693, allocations: 16.08 kB / 0.9228 GB, free: 39.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000368/0.2697, allocations: 47.88 kB / 0.9228 GB, free: 39.64 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.815e-05/0.2697, allocations: 15.98 kB / 0.9229 GB, free: 39.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.2697, allocations: 4 kB / 0.9229 GB, free: 39.62 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007324/0.2705, allocations: 0.6512 MB / 0.9235 GB, free: 38.97 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2705, allocations: 0 / 0.9235 GB, free: 38.97 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005816/0.2711, allocations: 183.8 kB / 0.9237 GB, free: 38.79 MB / 0.6042 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.0008167/0.2719, allocations: 1.129 MB / 0.9248 GB, free: 37.64 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007854/0.2727, allocations: 0.5897 MB / 0.9253 GB, free: 37.04 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2727, allocations: 0 / 0.9253 GB, free: 37.04 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002528/0.273, allocations: 238.5 kB / 0.9256 GB, free: 36.79 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006445/0.2736, allocations: 155.4 kB / 0.9257 GB, free: 36.64 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00345/0.2771, allocations: 8.585 MB / 0.9341 GB, free: 27.82 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00043/0.2775, allocations: 1.018 MB / 0.9351 GB, free: 26.77 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004608/0.278, allocations: 188.5 kB / 0.9353 GB, free: 26.59 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002632/0.2783, allocations: 207.4 kB / 0.9355 GB, free: 26.39 MB / 0.6042 GB Notification: Performance of SimCode: time 1.242e-06/0.2783, allocations: 0 / 0.9355 GB, free: 26.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02634/0.3046, allocations: 14.06 MB / 0.9492 GB, free: 12.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001532/0.3048, allocations: 204.8 kB / 0.9494 GB, free: 12.37 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.345/2.65, allocations: 0 / 0.9494 GB, free: 12.37 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorMultiLayer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_HeatTransfer_Examples_ConductorMultiLayer.fmu > Buildings_maint.7.0.x_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1)