Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp,fileNamePrefix="IDEAS_IDEAS_Buildings_Components_BaseClasses_ConductiveHeatTransfer_Examples_MultiLayerRamp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp,fileNamePrefix="IDEAS_IDEAS_Buildings_Components_BaseClasses_ConductiveHeatTransfer_Examples_MultiLayerRamp",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.001087/0.001087, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001189/0.001188, allocations: 198.5 kB / 16.14 MB, free: 6.707 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.221/1.221, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6633/0.6633, allocations: 132.2 MB / 422.1 MB, free: 2.004 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.00107/0.00107, allocations: 67.7 kB / 0.5012 GB, free: 4.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3384, allocations: 80.2 MB / 0.5795 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp): time 0.004105/0.3425, allocations: 3.632 MB / 0.5831 GB, free: 1.98 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003097/0.3457, allocations: 2.198 MB / 0.5852 GB, free: 412 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002848/0.346, allocations: 12.94 kB / 0.5852 GB, free: 408 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001097/0.3471, allocations: 425.5 kB / 0.5856 GB, free: 224 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000351/0.3475, allocations: 167.5 kB / 0.5858 GB, free: 120 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002825/0.3478, allocations: 123.8 kB / 0.5859 GB, free: 44 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001363/0.3491, allocations: 1.198 MB / 0.5871 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004112/0.3496, allocations: 290.2 kB / 0.5874 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000754/0.3503, allocations: 413.3 kB / 0.5878 GB, free: 15.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005063/0.3508, allocations: 408 kB / 0.5881 GB, free: 15.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.644e-05/0.3509, allocations: 44.06 kB / 0.5882 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.3511, allocations: 40.09 kB / 0.5882 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000169/0.3512, allocations: 149.9 kB / 0.5884 GB, free: 14.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003696/0.3516, allocations: 376.9 kB / 0.5887 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.3527, allocations: 1.104 MB / 0.5898 GB, free: 14.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3527, allocations: 0.5156 kB / 0.5898 GB, free: 14.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3527, allocations: 1.125 kB / 0.5898 GB, free: 14.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.3527, allocations: 4 kB / 0.5898 GB, free: 14.33 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001942/0.3546, allocations: 1.189 MB / 0.591 GB, free: 13.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.3547, allocations: 13.27 kB / 0.591 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.775e-05/0.3548, allocations: 62.33 kB / 0.591 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.3549, allocations: 86.62 kB / 0.5911 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001733/0.3566, allocations: 1.101 MB / 0.5922 GB, free: 12.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.3567, allocations: 27.81 kB / 0.5922 GB, free: 12.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.925e-05/0.3567, allocations: 32.27 kB / 0.5923 GB, free: 12.78 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006284/0.3574, allocations: 377 kB / 0.5926 GB, free: 12.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.3574, allocations: 5.344 kB / 0.5926 GB, free: 12.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.86e-05/0.3574, allocations: 10.53 kB / 0.5926 GB, free: 12.58 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.3574, allocations: 10.47 kB / 0.5926 GB, free: 12.58 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004876/0.3579, allocations: 271.3 kB / 0.5929 GB, free: 12.5 MB / 446.1 MB 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.002195/0.3601, allocations: 2.026 MB / 0.5949 GB, free: 11.02 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007803/0.3609, allocations: 361.5 kB / 0.5952 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002256/0.3612, allocations: 145.7 kB / 0.5954 GB, free: 10.76 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.3612, allocations: 1.281 kB / 0.5954 GB, free: 10.76 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002741/0.3615, allocations: 172.2 kB / 0.5955 GB, free: 10.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=19): time 1.542e-06/0.3615, allocations: 0 / 0.5955 GB, free: 10.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009892/0.3625, allocations: 0.5655 MB / 0.5961 GB, free: 10.28 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.3625, allocations: 52.88 kB / 0.5961 GB, free: 10.22 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.3636, allocations: 0.9969 MB / 0.5971 GB, free: 9.668 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.3636, allocations: 32.08 kB / 0.5971 GB, free: 9.633 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002755/0.3639, allocations: 381 kB / 0.5975 GB, free: 9.301 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.488e-05/0.364, allocations: 63.64 kB / 0.5976 GB, free: 9.246 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.381e-05/0.364, allocations: 59.66 kB / 0.5976 GB, free: 9.203 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.872e-05/0.3641, allocations: 316.4 kB / 0.5979 GB, free: 8.891 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002038/0.3643, allocations: 116.7 kB / 0.598 GB, free: 8.836 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/0.3646, allocations: 217 kB / 0.5982 GB, free: 8.668 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004415/0.365, allocations: 313.7 kB / 0.5985 GB, free: 8.473 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3651, allocations: 1.438 kB / 0.5985 GB, free: 8.473 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006436/0.3657, allocations: 443.7 kB / 0.599 GB, free: 8.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.3657, allocations: 9.094 kB / 0.599 GB, free: 8.227 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3657, allocations: 6.875 kB / 0.599 GB, free: 8.223 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001509/0.3659, allocations: 44.94 kB / 0.599 GB, free: 8.195 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.3661, allocations: 56.03 kB / 0.5991 GB, free: 8.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001025/0.3672, allocations: 1.481 MB / 0.6005 GB, free: 6.723 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003579/0.3675, allocations: 68.02 kB / 0.6006 GB, free: 6.684 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.3675, allocations: 6.812 kB / 0.6006 GB, free: 6.684 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * 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.0003161/0.3679, allocations: 353 kB / 0.6009 GB, free: 6.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.562e-05/0.368, allocations: 83.31 kB / 0.601 GB, free: 6.383 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.3681, allocations: 92.44 kB / 0.6011 GB, free: 6.328 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.3681, allocations: 2.156 kB / 0.6011 GB, free: 6.328 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3681, allocations: 3.984 kB / 0.6011 GB, free: 6.324 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3681, allocations: 1.344 kB / 0.6011 GB, free: 6.324 MB / 446.1 MB 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 postOpt removeSimpleEquations (simulation): time 0.00135/0.3695, allocations: 1.22 MB / 0.6023 GB, free: 5.352 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3695, allocations: 1.5 kB / 0.6023 GB, free: 5.352 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/0.3697, allocations: 37.59 kB / 0.6023 GB, free: 5.344 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001027/0.3698, allocations: 42.48 kB / 0.6024 GB, free: 5.316 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.3698, allocations: 20.7 kB / 0.6024 GB, free: 5.301 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009337/0.3708, allocations: 1.475 MB / 0.6038 GB, free: 3.848 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.289e-06/0.3708, allocations: 3.938 kB / 0.6038 GB, free: 3.844 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008249/0.3716, allocations: 0.6182 MB / 0.6044 GB, free: 3.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.3718, allocations: 166.5 kB / 0.6046 GB, free: 3.277 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.492e-05/0.3719, allocations: 3.625 kB / 0.6046 GB, free: 3.277 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000294/0.3722, allocations: 39.83 kB / 0.6046 GB, free: 3.254 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.369e-05/0.3722, allocations: 20.34 kB / 0.6047 GB, free: 3.242 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.3723, allocations: 4.469 kB / 0.6047 GB, free: 3.242 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008592/0.3731, allocations: 0.7246 MB / 0.6054 GB, free: 2.836 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3731, allocations: 0 / 0.6054 GB, free: 2.836 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004567/0.3736, allocations: 119.7 kB / 0.6055 GB, free: 2.82 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (Etot,layMul.monLay[1].monLayDyn.T[1],layMul.monLay[1].monLayDyn.T[2],layMul.monLay[2].monLayDyn.T[1]) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * 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.001037/0.3746, allocations: 1.162 MB / 0.6066 GB, free: 1.887 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006221/0.3753, allocations: 412.9 kB / 0.607 GB, free: 1.629 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3753, allocations: 0 / 0.607 GB, free: 1.629 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003187/0.3756, allocations: 257.8 kB / 0.6073 GB, free: 1.441 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008047/0.3764, allocations: 173.1 kB / 0.6074 GB, free: 1.355 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01161/0.388, allocations: 7.798 MB / 0.615 GB, free: 12.23 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005338/0.3886, allocations: 1.105 MB / 0.6161 GB, free: 11.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004268/0.389, allocations: 165.3 kB / 0.6163 GB, free: 10.93 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002908/0.3893, allocations: 259.4 kB / 0.6165 GB, free: 10.68 MB / 462.1 MB Notification: Performance of SimCode: time 1.163e-06/0.3893, allocations: 3.938 kB / 0.6165 GB, free: 10.68 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.549/7.938, allocations: 15.77 MB / 0.6319 GB, free: 11.25 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002458/7.939, allocations: 262.3 kB / 0.6322 GB, free: 10.99 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.618/15.56, allocations: 2.812 kB / 0.6322 GB, free: 10.99 MB / 478.1 MB (rm -f IDEAS_IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp.pipe ; mkfifo IDEAS_IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp.pipe ; head -c 1048576 < IDEAS_IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp.pipe >> ../files/IDEAS_IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Buildings_Components_BaseClasses_ConductiveHeatTransfer_Examples_MultiLayerRamp_fmu --startTime=0 --stopTime=500000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Buildings_Components_BaseClasses_ConductiveHeatTransfer_Examples_MultiLayerRamp.fmu > IDEAS_IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp.pipe 2>&1)