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.0008582/0.0008583, allocations: 90.75 kB / 15.06 MB, free: 1.094 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.000875/0.000875, allocations: 172.7 kB / 15.95 MB, free: 204 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.453/1.453, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.095/1.095, allocations: 143.4 MB / 434.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003392/0.0003392, allocations: 8 kB / 0.5161 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.171, allocations: 83.41 MB / 0.5975 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BaseClasses.HeatTransfer.Examples.ValidationLWRLinear): time 0.004073/0.1752, allocations: 2.812 MB / 0.6003 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004454/0.1796, allocations: 2.63 MB / 0.6028 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002878/0.18, allocations: 11.94 kB / 0.6028 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000434/0.1804, allocations: 103.3 kB / 0.6029 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005318/0.1809, allocations: 186.9 kB / 0.6031 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.1822, allocations: 478.5 kB / 0.6036 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001068/0.1833, allocations: 0.9282 MB / 0.6045 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003964/0.1837, allocations: 217.4 kB / 0.6047 GB, free: 356 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000465/0.1842, allocations: 342.8 kB / 0.605 GB, free: 12 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3357/0.5198, allocations: 399.7 kB / 0.6054 GB, free: 35.46 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001793/0.52, allocations: 44.28 kB / 0.6054 GB, free: 35.46 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006399/0.5207, allocations: 318.9 kB / 0.6057 GB, free: 35.46 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002174/0.5209, allocations: 242.8 kB / 0.606 GB, free: 35.46 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.5211, allocations: 177.7 kB / 0.6061 GB, free: 35.43 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007901/0.5219, allocations: 0.9933 MB / 0.6071 GB, free: 35.38 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.5219, allocations: 1 kB / 0.6071 GB, free: 35.38 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.754e-06/0.5219, allocations: 0 / 0.6071 GB, free: 35.38 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.5219, allocations: 0 / 0.6071 GB, free: 35.38 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.001698/0.5236, allocations: 1.12 MB / 0.6082 GB, free: 34.65 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.5237, allocations: 9.625 kB / 0.6082 GB, free: 34.65 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001355/0.5238, allocations: 126.4 kB / 0.6083 GB, free: 34.61 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002692/0.5241, allocations: 114.9 kB / 0.6085 GB, free: 34.56 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006752/0.5248, allocations: 0.584 MB / 0.609 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001744/0.525, allocations: 146.6 kB / 0.6092 GB, free: 34.22 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.05e-05/0.5251, allocations: 65.92 kB / 0.6092 GB, free: 34.22 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/0.5267, allocations: 0.9472 MB / 0.6102 GB, free: 34.1 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.5268, allocations: 0.6562 kB / 0.6102 GB, free: 34.1 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.302e-05/0.5268, allocations: 29.94 kB / 0.6102 GB, free: 34.1 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.5269, allocations: 18.34 kB / 0.6102 GB, free: 34.1 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00227/0.5291, allocations: 1.091 MB / 0.6113 GB, free: 34.09 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003485/0.5326, allocations: 2.932 MB / 0.6141 GB, free: 32.8 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001887/0.5345, allocations: 0.956 MB / 0.6151 GB, free: 32.74 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009713/0.5355, allocations: 0.5064 MB / 0.6156 GB, free: 32.72 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004998/0.536, allocations: 0.5396 MB / 0.6161 GB, free: 32.15 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.5361, allocations: 43.61 kB / 0.6161 GB, free: 32.11 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=78): time 3.145e-06/0.5361, allocations: 0 / 0.6161 GB, free: 32.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=78): time 0.01393/0.55, allocations: 3.815 MB / 0.6198 GB, free: 31.72 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.356e-05/0.5501, allocations: 199.4 kB / 0.62 GB, free: 31.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008565/0.551, allocations: 0.6783 MB / 0.6207 GB, free: 31.36 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.005e-05/0.5511, allocations: 38.64 kB / 0.6207 GB, free: 31.33 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001908/0.5513, allocations: 354.3 kB / 0.6211 GB, free: 31.18 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.5514, allocations: 246.2 kB / 0.6213 GB, free: 31.02 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.623e-05/0.5515, allocations: 10.53 kB / 0.6213 GB, free: 31.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.979e-05/0.5516, allocations: 384.1 kB / 0.6217 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008651/0.5525, allocations: 404.8 kB / 0.6221 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008753/0.5534, allocations: 496.9 kB / 0.6225 GB, free: 30.63 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008512/0.5542, allocations: 445.5 kB / 0.623 GB, free: 30.56 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.5542, allocations: 3.922 kB / 0.623 GB, free: 30.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.006662/0.5609, allocations: 2.055 MB / 0.625 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.259e-05/0.561, allocations: 66.39 kB / 0.625 GB, free: 30.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006142/0.5671, allocations: 2.017 MB / 0.627 GB, free: 30.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00151/0.5686, allocations: 0.6449 MB / 0.6276 GB, free: 30.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004807/0.5691, allocations: 117.8 kB / 0.6278 GB, free: 30.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01274/0.5819, allocations: 5.666 MB / 0.6333 GB, free: 27.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008915/0.5828, allocations: 91.94 kB / 0.6334 GB, free: 27.01 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.716e-05/0.5829, allocations: 29.97 kB / 0.6334 GB, free: 27 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.0005046/0.5834, allocations: 278.6 kB / 0.6337 GB, free: 26.81 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/0.5836, allocations: 80.38 kB / 0.6337 GB, free: 26.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007209/0.5908, allocations: 2.127 MB / 0.6358 GB, free: 26.26 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/0.5908, allocations: 7.469 kB / 0.6358 GB, free: 26.26 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5908, allocations: 3.062 kB / 0.6358 GB, free: 26.26 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.5909, allocations: 4.156 kB / 0.6358 GB, free: 26.26 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.5922, allocations: 0.9015 MB / 0.6367 GB, free: 25.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.006935/0.5991, allocations: 1.975 MB / 0.6386 GB, free: 25.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004312/0.5996, allocations: 96.67 kB / 0.6387 GB, free: 25.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001742/0.6013, allocations: 0.6407 MB / 0.6394 GB, free: 25.21 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-05/0.6014, allocations: 20.09 kB / 0.6394 GB, free: 25.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0141/0.6155, allocations: 5.661 MB / 0.6449 GB, free: 22.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.6155, allocations: 0 / 0.6449 GB, free: 22.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00753/0.6231, allocations: 2.214 MB / 0.6471 GB, free: 21.44 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002777/0.6234, allocations: 166.4 kB / 0.6472 GB, free: 21.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001863/0.6236, allocations: 14.09 kB / 0.6472 GB, free: 21.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006087/0.6242, allocations: 56.98 kB / 0.6473 GB, free: 21.26 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003141/0.6245, allocations: 101.8 kB / 0.6474 GB, free: 21.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.163e-05/0.6246, allocations: 28.03 kB / 0.6474 GB, free: 21.24 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008903/0.6255, allocations: 495.5 kB / 0.6479 GB, free: 21.02 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.61e-07/0.6255, allocations: 0 / 0.6479 GB, free: 21.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001225/0.6267, allocations: 269.4 kB / 0.6482 GB, free: 20.96 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.009113/0.6359, allocations: 3.262 MB / 0.6513 GB, free: 19.64 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003779/0.6397, allocations: 1.531 MB / 0.6528 GB, free: 18.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.6397, allocations: 1 kB / 0.6528 GB, free: 18.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002311/0.642, allocations: 0.9722 MB / 0.6538 GB, free: 18.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009674/0.643, allocations: 125.9 kB / 0.6539 GB, free: 18.38 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01665/0.6596, allocations: 6.386 MB / 0.6601 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007427/0.6604, allocations: 1.011 MB / 0.6611 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006698/0.6611, allocations: 196.6 kB / 0.6613 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004958/0.6616, allocations: 321.4 kB / 0.6616 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of SimCode: time 1.282e-06/0.6616, allocations: 0 / 0.6616 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04297/0.7046, allocations: 23.22 MB / 0.6843 GB, free: 396 kB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002345/0.7049, allocations: 309.1 kB / 0.6846 GB, free: 24 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.562/3.267, allocations: 0 / 0.6846 GB, free: 24 kB / 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: