Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.BaseClasses.HeatTransfer.Examples.ValidationLWRLinear.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.BaseClasses.HeatTransfer.Examples.ValidationLWRLinear,fileNamePrefix="BuildSysPro_BuildSysPro_BaseClasses_HeatTransfer_Examples_ValidationLWRLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.BaseClasses.HeatTransfer.Examples.ValidationLWRLinear,fileNamePrefix="BuildSysPro_BuildSysPro_BaseClasses_HeatTransfer_Examples_ValidationLWRLinear",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.0009701/0.0009702, allocations: 100.9 kB / 15.05 MB, free: 1.105 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.0008992/0.0008992, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9523/0.9523, allocations: 143.3 MB / 434.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003082/0.0003083, allocations: 11.98 kB / 0.5159 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1563, allocations: 83.41 MB / 0.5973 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BaseClasses.HeatTransfer.Examples.ValidationLWRLinear): time 0.003177/0.1595, allocations: 2.688 MB / 0.6 GB, free: 5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003617/0.1632, allocations: 2.634 MB / 0.6025 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002399/0.1635, allocations: 7.938 kB / 0.6025 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00033/0.1638, allocations: 99.31 kB / 0.6026 GB, free: 2.25 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/BaseClasses/HeatTransfer/Components/ExtLWR.mo:56:51-57:74:writable] Warning: Conditional component ‘incl_gen_in‘ is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/BaseClasses/HeatTransfer/Components/ExtLWR.mo:58:52-59:72:writable] Warning: Conditional component ‘incl_gen_in‘ is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.0005122/0.1643, allocations: 215.3 kB / 0.6028 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.1654, allocations: 462.8 kB / 0.6033 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00077/0.1662, allocations: 0.6444 MB / 0.6039 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003352/0.1665, allocations: 225.4 kB / 0.6041 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004068/0.1669, allocations: 342.9 kB / 0.6045 GB, free: 392 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004636/0.1674, allocations: 362.7 kB / 0.6048 GB, free: 28 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.2587/0.4261, allocations: 41.45 kB / 0.6048 GB, free: 35.48 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008339/0.427, allocations: 303.1 kB / 0.6051 GB, free: 35.48 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002187/0.4272, allocations: 242.6 kB / 0.6054 GB, free: 35.48 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001949/0.4274, allocations: 183.9 kB / 0.6055 GB, free: 35.45 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008136/0.4283, allocations: 0.9851 MB / 0.6065 GB, free: 35.39 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.4283, allocations: 0 / 0.6065 GB, free: 35.39 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4283, allocations: 0 / 0.6065 GB, free: 35.39 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.4283, allocations: 0.7812 kB / 0.6065 GB, free: 35.39 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.00171/0.43, allocations: 1.122 MB / 0.6076 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.4301, allocations: 8.469 kB / 0.6076 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001242/0.4302, allocations: 126.8 kB / 0.6077 GB, free: 34.62 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002725/0.4305, allocations: 117 kB / 0.6078 GB, free: 34.57 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000734/0.4312, allocations: 0.5798 MB / 0.6084 GB, free: 34.3 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001632/0.4314, allocations: 142.9 kB / 0.6085 GB, free: 34.24 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.25e-05/0.4315, allocations: 67.7 kB / 0.6086 GB, free: 34.24 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001648/0.4332, allocations: 0.9459 MB / 0.6095 GB, free: 34.11 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.4332, allocations: 0 / 0.6095 GB, free: 34.11 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.511e-05/0.4333, allocations: 32.5 kB / 0.6096 GB, free: 34.11 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.4333, allocations: 15.16 kB / 0.6096 GB, free: 34.11 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002297/0.4356, allocations: 1.088 MB / 0.6106 GB, free: 34.11 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003616/0.4392, allocations: 2.933 MB / 0.6135 GB, free: 32.81 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002084/0.4413, allocations: 0.9826 MB / 0.6145 GB, free: 32.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000479/0.4418, allocations: 0.5252 MB / 0.615 GB, free: 32.19 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.4419, allocations: 52.33 kB / 0.615 GB, free: 32.15 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=78): time 2.845e-06/0.4419, allocations: 0 / 0.615 GB, free: 32.15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=78): time 0.01516/0.457, allocations: 3.968 MB / 0.6189 GB, free: 31.57 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.072e-05/0.4571, allocations: 191.6 kB / 0.6191 GB, free: 31.35 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008113/0.4579, allocations: 0.6778 MB / 0.6197 GB, free: 31.22 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.55e-05/0.458, allocations: 38.86 kB / 0.6198 GB, free: 31.19 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.4582, allocations: 356.1 kB / 0.6201 GB, free: 31.04 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000158/0.4584, allocations: 243.6 kB / 0.6203 GB, free: 30.88 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.632e-05/0.4585, allocations: 13.53 kB / 0.6204 GB, free: 30.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.614e-05/0.4586, allocations: 389.7 kB / 0.6207 GB, free: 30.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009173/0.4595, allocations: 394.5 kB / 0.6211 GB, free: 30.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009498/0.4604, allocations: 495.8 kB / 0.6216 GB, free: 30.49 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009277/0.4614, allocations: 459.2 kB / 0.622 GB, free: 30.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.4614, allocations: 4 kB / 0.622 GB, free: 30.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.006989/0.4684, allocations: 2.046 MB / 0.624 GB, free: 30.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.041e-05/0.4685, allocations: 61.28 kB / 0.6241 GB, free: 30.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006806/0.4753, allocations: 2.017 MB / 0.626 GB, free: 30 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001581/0.4769, allocations: 0.6388 MB / 0.6267 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005007/0.4774, allocations: 124.8 kB / 0.6268 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0144/0.4918, allocations: 5.929 MB / 0.6326 GB, free: 27.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007512/0.4926, allocations: 94.69 kB / 0.6327 GB, free: 27.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.859e-05/0.4927, allocations: 26.89 kB / 0.6327 GB, free: 27.12 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 12 (meteofile1.t0,meteofile1.h0,meteofile1.d0,meteofile1.CoupleFlux,meteofile1.latitude,meteofile1.longitude,meteofile.t0,meteofile.h0,meteofile.d0,meteofile.CoupleFlux,meteofile.latitude,meteofile.longitude) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004246/0.4931, allocations: 281.1 kB / 0.633 GB, free: 26.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/0.4933, allocations: 75.81 kB / 0.633 GB, free: 26.89 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00717/0.5004, allocations: 2.142 MB / 0.6351 GB, free: 26.37 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.5005, allocations: 8.25 kB / 0.6351 GB, free: 26.37 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.5005, allocations: 0 / 0.6351 GB, free: 26.37 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.5005, allocations: 6.047 kB / 0.6351 GB, free: 26.37 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.5017, allocations: 0.8974 MB / 0.636 GB, free: 25.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.007368/0.5091, allocations: 1.97 MB / 0.6379 GB, free: 25.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004603/0.5096, allocations: 101.1 kB / 0.638 GB, free: 25.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001769/0.5113, allocations: 0.6402 MB / 0.6387 GB, free: 25.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.983e-05/0.5114, allocations: 19.33 kB / 0.6387 GB, free: 25.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01565/0.5271, allocations: 5.937 MB / 0.6445 GB, free: 22.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.5271, allocations: 0 / 0.6445 GB, free: 22.17 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0075/0.5346, allocations: 2.222 MB / 0.6467 GB, free: 21.49 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001833/0.5348, allocations: 171.4 kB / 0.6468 GB, free: 21.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.535, allocations: 17.8 kB / 0.6468 GB, free: 21.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005545/0.5355, allocations: 48.44 kB / 0.6469 GB, free: 21.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002623/0.5358, allocations: 104.4 kB / 0.647 GB, free: 21.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.8e-05/0.5359, allocations: 27.23 kB / 0.647 GB, free: 21.29 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006189/0.5365, allocations: 498.7 kB / 0.6475 GB, free: 21.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5365, allocations: 0 / 0.6475 GB, free: 21.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008885/0.5374, allocations: 268.5 kB / 0.6477 GB, free: 21.01 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 (meteofile1.t0,meteofile1.h0,meteofile1.d0,meteofile1.CoupleFlux,meteofile1.latitude,meteofile1.longitude,meteofile.t0,meteofile.h0,meteofile.d0,meteofile.CoupleFlux,meteofile.latitude,meteofile.longitude) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 12 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.008773/0.5462, allocations: 3.33 MB / 0.651 GB, free: 19.63 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003638/0.5499, allocations: 1.536 MB / 0.6525 GB, free: 18.89 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.5499, allocations: 1.25 kB / 0.6525 GB, free: 18.89 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002336/0.5522, allocations: 0.9683 MB / 0.6534 GB, free: 18.42 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000671/0.5529, allocations: 110.4 kB / 0.6535 GB, free: 18.38 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003872/0.5568, allocations: 3.022 MB / 0.6565 GB, free: 16.45 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005135/0.5573, allocations: 1.031 MB / 0.6575 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005513/0.5579, allocations: 199.3 kB / 0.6577 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003824/0.5583, allocations: 316.1 kB / 0.658 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of SimCode: time 4.91e-07/0.5583, allocations: 3.375 kB / 0.658 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03838/0.5967, allocations: 22.99 MB / 0.6804 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002369/0.5969, allocations: 296.5 kB / 0.6807 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.172/2.769, allocations: 3.938 kB / 0.6807 GB, free: 3.73 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.BaseClasses.HeatTransfer.Examples.ValidationLWRLinear.pipe ; mkfifo BuildSysPro_BuildSysPro.BaseClasses.HeatTransfer.Examples.ValidationLWRLinear.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.BaseClasses.HeatTransfer.Examples.ValidationLWRLinear.pipe >> ../files/BuildSysPro_BuildSysPro.BaseClasses.HeatTransfer.Examples.ValidationLWRLinear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_BaseClasses_HeatTransfer_Examples_ValidationLWRLinear_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_BaseClasses_HeatTransfer_Examples_ValidationLWRLinear.fmu > BuildSysPro_BuildSysPro.BaseClasses.HeatTransfer.Examples.ValidationLWRLinear.pipe 2>&1) Environment - environmentSimulation: