Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp,fileNamePrefix="IDEAS_dev_IDEAS_Buildings_Components_BaseClasses_ConductiveHeatTransfer_Examples_MultiLayerRamp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp,fileNamePrefix="IDEAS_dev_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.0015/0.0015, allocations: 112.5 kB / 15.73 MB, free: 76 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.001529/0.001529, allocations: 195.7 kB / 16.67 MB, free: 6.57 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8933/0.8933, allocations: 135.6 MB / 426.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 71.89 kB / 0.5858 GB, free: 3.188 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3661, allocations: 81.01 MB / 0.6649 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp): time 0.003857/0.37, allocations: 3.649 MB / 0.6684 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002681/0.3727, allocations: 2.212 MB / 0.6706 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002438/0.373, allocations: 17.81 kB / 0.6706 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.3741, allocations: 444.5 kB / 0.671 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003317/0.3744, allocations: 177.3 kB / 0.6712 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002954/0.3747, allocations: 136.2 kB / 0.6713 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0009282/0.3757, allocations: 1.197 MB / 0.6725 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003465/0.376, allocations: 312.6 kB / 0.6728 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004699/0.3765, allocations: 474.3 kB / 0.6733 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004405/0.3769, allocations: 462 kB / 0.6737 GB, free: 356 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001201/0.3771, allocations: 82.78 kB / 0.6738 GB, free: 352 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.3772, allocations: 78.56 kB / 0.6738 GB, free: 352 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.3774, allocations: 210.9 kB / 0.6741 GB, free: 184 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003976/0.3778, allocations: 440.2 kB / 0.6745 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001279/0.3791, allocations: 1.245 MB / 0.6757 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3791, allocations: 0 / 0.6757 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3791, allocations: 0 / 0.6757 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.3791, allocations: 5.875 kB / 0.6757 GB, free: 14.98 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.002182/0.3813, allocations: 1.296 MB / 0.677 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.3814, allocations: 10 kB / 0.677 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.907e-05/0.3814, allocations: 64.16 kB / 0.677 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001498/0.3816, allocations: 100.4 kB / 0.6771 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002032/0.3836, allocations: 1.183 MB / 0.6783 GB, free: 13 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.3837, allocations: 24.5 kB / 0.6783 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.95e-05/0.3837, allocations: 36.98 kB / 0.6783 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007265/0.3845, allocations: 432.8 kB / 0.6788 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.3845, allocations: 4 kB / 0.6788 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.57e-05/0.3846, allocations: 11.75 kB / 0.6788 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.3846, allocations: 6.75 kB / 0.6788 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005883/0.3852, allocations: 330.1 kB / 0.6791 GB, free: 12.52 MB / 0.5137 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.003116/0.3883, allocations: 2.374 MB / 0.6814 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.3896, allocations: 0.5279 MB / 0.6819 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003959/0.39, allocations: 202.1 kB / 0.6821 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.39, allocations: 2.312 kB / 0.6821 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004745/0.3905, allocations: 226.4 kB / 0.6823 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=24): time 2.144e-06/0.3905, allocations: 4.938 kB / 0.6823 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of matching and sorting (n=25): time 0.002552/0.3931, allocations: 1.302 MB / 0.6836 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.3932, allocations: 53.78 kB / 0.6837 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001395/0.3946, allocations: 1.047 MB / 0.6847 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.916e-05/0.3946, allocations: 31.05 kB / 0.6847 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00037/0.395, allocations: 395.2 kB / 0.6851 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.538e-05/0.3951, allocations: 95.05 kB / 0.6852 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.3952, allocations: 65.09 kB / 0.6852 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3953, allocations: 318.4 kB / 0.6855 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003094/0.3957, allocations: 177.3 kB / 0.6857 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003864/0.3961, allocations: 270.1 kB / 0.686 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006784/0.3967, allocations: 439.4 kB / 0.6864 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.3967, allocations: 1.594 kB / 0.6864 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009494/0.3977, allocations: 0.5675 MB / 0.6869 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3977, allocations: 6 kB / 0.687 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.3977, allocations: 2.688 kB / 0.687 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001888/0.3979, allocations: 54.53 kB / 0.687 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/0.3982, allocations: 71.09 kB / 0.6871 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001534/0.3997, allocations: 1.686 MB / 0.6887 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000442/0.4002, allocations: 49.31 kB / 0.6888 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.4002, allocations: 12.81 kB / 0.6888 GB, free: 5.078 MB / 0.5137 GB 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 (34): * Single equations (assignments): 33 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005406/0.4008, allocations: 376.7 kB / 0.6891 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.4009, allocations: 84.12 kB / 0.6892 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001778/0.4011, allocations: 99.98 kB / 0.6893 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.4011, allocations: 1.438 kB / 0.6893 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.4011, allocations: 1.438 kB / 0.6893 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.4011, allocations: 7.938 kB / 0.6893 GB, free: 4.691 MB / 0.5137 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 postOpt removeSimpleEquations (simulation): time 0.002038/0.4032, allocations: 1.506 MB / 0.6908 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.4032, allocations: 5.438 kB / 0.6908 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.4034, allocations: 62.3 kB / 0.6909 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001219/0.4036, allocations: 49.16 kB / 0.6909 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.297e-05/0.4036, allocations: 17.2 kB / 0.6909 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001485/0.4051, allocations: 1.694 MB / 0.6926 GB, free: 1.832 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.4051, allocations: 0 / 0.6926 GB, free: 1.832 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.4063, allocations: 0.801 MB / 0.6934 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002421/0.4066, allocations: 176.2 kB / 0.6935 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.494e-05/0.4067, allocations: 13.98 kB / 0.6935 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003194/0.407, allocations: 35.77 kB / 0.6936 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.068e-05/0.4071, allocations: 24.41 kB / 0.6936 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/0.4071, allocations: 7.094 kB / 0.6936 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001066/0.4082, allocations: 0.7581 MB / 0.6943 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4082, allocations: 0 / 0.6943 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005176/0.4087, allocations: 124 kB / 0.6945 GB, free: 0.6836 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Etot,layMul.monLay[1].monLayDyn.T[2],layMul.monLay[1].monLayDyn.T[3],layMul.monLay[2].monLayDyn.T[1],layMul.monLay[2].monLayDyn.T[2],layMul.monLay[2].monLayDyn.T[3]) * 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 (23): * Single equations (assignments): 22 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001564/0.4103, allocations: 1.35 MB / 0.6958 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001081/0.4114, allocations: 0.5259 MB / 0.6963 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4114, allocations: 0 / 0.6963 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004424/0.4118, allocations: 316.2 kB / 0.6966 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009089/0.4128, allocations: 202.4 kB / 0.6968 GB, free: 15 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/0.4243, allocations: 8.175 MB / 0.7048 GB, free: 6.809 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008841/0.4252, allocations: 1.128 MB / 0.7059 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005595/0.4258, allocations: 205.6 kB / 0.7061 GB, free: 5.449 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004199/0.4262, allocations: 283.3 kB / 0.7063 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of SimCode: time 1.082e-06/0.4262, allocations: 0 / 0.7063 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3859/0.8121, allocations: 18.2 MB / 0.7241 GB, free: 3.301 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/12.36, allocations: 18.77 kB / 0.7241 GB, free: 3.285 MB / 0.545 GB (rm -f IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp.pipe ; mkfifo IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp.pipe >> ../files/IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Buildings_Components_BaseClasses_ConductiveHeatTransfer_Examples_MultiLayerRamp_fmu --startTime=0 --stopTime=500000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Buildings_Components_BaseClasses_ConductiveHeatTransfer_Examples_MultiLayerRamp.fmu > IDEAS_dev_IDEAS.Buildings.Components.BaseClasses.ConductiveHeatTransfer.Examples.MultiLayerRamp.pipe 2>&1)