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.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.004616/0.004616, allocations: 100.6 kB / 15.73 MB, free: 6.016 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.001234/0.001234, allocations: 185.9 kB / 16.67 MB, free: 5.934 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.8623/0.8623, allocations: 143.3 MB / 433.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 67.62 kB / 0.5953 GB, free: 12.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1459, allocations: 82.03 MB / 0.6754 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BaseClasses.HeatTransfer.Examples.ValidationLWRLinear): time 0.004633/0.1505, allocations: 3.326 MB / 0.6786 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004332/0.1549, allocations: 2.828 MB / 0.6814 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002311/0.1551, allocations: 11.94 kB / 0.6814 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004518/0.1556, allocations: 134.8 kB / 0.6815 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0005631/0.1562, allocations: 242.4 kB / 0.6818 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.1574, allocations: 0.5864 MB / 0.6823 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00112/0.1586, allocations: 1.096 MB / 0.6834 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004031/0.159, allocations: 292.6 kB / 0.6837 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004761/0.1595, allocations: 422.7 kB / 0.6841 GB, free: 1.699 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006268/0.1601, allocations: 474.3 kB / 0.6845 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001688/0.1603, allocations: 104 kB / 0.6846 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006171/0.1609, allocations: 399.6 kB / 0.685 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003275/0.1612, allocations: 315.1 kB / 0.6853 GB, free: 444 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004603/0.1617, allocations: 485.5 kB / 0.6858 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001427/0.1631, allocations: 1.37 MB / 0.6871 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1632, allocations: 0 / 0.6871 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1632, allocations: 4 kB / 0.6871 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.1632, allocations: 0 / 0.6871 GB, free: 14.58 MB / 0.5294 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.002198/0.1654, allocations: 1.321 MB / 0.6884 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.1654, allocations: 8.031 kB / 0.6884 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000157/0.1656, allocations: 122.7 kB / 0.6885 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003135/0.1659, allocations: 124.2 kB / 0.6886 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009142/0.1668, allocations: 0.6165 MB / 0.6893 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002169/0.1671, allocations: 145.4 kB / 0.6894 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.1672, allocations: 67.98 kB / 0.6895 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001959/0.1691, allocations: 0.9543 MB / 0.6904 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.1692, allocations: 0 / 0.6904 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.59e-05/0.1693, allocations: 28 kB / 0.6904 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.1693, allocations: 16 kB / 0.6904 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002665/0.1719, allocations: 1.095 MB / 0.6915 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004186/0.1761, allocations: 2.923 MB / 0.6944 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002155/0.1783, allocations: 0.9578 MB / 0.6953 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001152/0.1795, allocations: 0.5098 MB / 0.6958 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006748/0.1802, allocations: 0.5298 MB / 0.6963 GB, free: 4.691 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/0.1802, allocations: 42.56 kB / 0.6963 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=78): time 2.364e-06/0.1802, allocations: 0 / 0.6963 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of matching and sorting (n=78): time 0.01594/0.1962, allocations: 3.794 MB / 0.7 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.1963, allocations: 195.9 kB / 0.7002 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009244/0.1973, allocations: 0.6837 MB / 0.7009 GB, free: 15.87 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.195e-05/0.1973, allocations: 33.7 kB / 0.7009 GB, free: 15.83 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002729/0.1976, allocations: 361.1 kB / 0.7013 GB, free: 15.47 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002332/0.1978, allocations: 265.7 kB / 0.7015 GB, free: 15.21 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000231/0.1981, allocations: 126.3 kB / 0.7017 GB, free: 15.08 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001926/0.1983, allocations: 390.7 kB / 0.702 GB, free: 14.69 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/0.1993, allocations: 413 kB / 0.7024 GB, free: 14.29 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.2004, allocations: 0.4892 MB / 0.7029 GB, free: 13.77 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002018/0.2025, allocations: 0.8517 MB / 0.7037 GB, free: 12.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2025, allocations: 0 / 0.7037 GB, free: 12.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.007389/0.2099, allocations: 2.047 MB / 0.7057 GB, free: 10.82 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.84e-05/0.21, allocations: 63.39 kB / 0.7058 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007204/0.2172, allocations: 2.02 MB / 0.7078 GB, free: 8.707 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001744/0.2189, allocations: 0.6417 MB / 0.7084 GB, free: 8.059 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004817/0.2194, allocations: 123.8 kB / 0.7085 GB, free: 7.938 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01623/0.2357, allocations: 6.157 MB / 0.7145 GB, free: 1.504 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006964/0.2364, allocations: 87.58 kB / 0.7146 GB, free: 1.418 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.713e-05/0.2365, allocations: 27.98 kB / 0.7146 GB, free: 1.391 MB / 0.545 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.longitude,meteofile1.latitude,meteofile1.CoupleFlux,meteofile1.d0,meteofile1.h0,meteofile1.t0,meteofile.longitude,meteofile.latitude,meteofile.CoupleFlux,meteofile.d0,meteofile.h0,meteofile.t0) * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004485/0.2369, allocations: 275.8 kB / 0.7149 GB, free: 1.113 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/0.2371, allocations: 83.42 kB / 0.715 GB, free: 1.031 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007507/0.2446, allocations: 2.059 MB / 0.717 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/0.2447, allocations: 11.98 kB / 0.717 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2447, allocations: 3.938 kB / 0.717 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.2447, allocations: 3.984 kB / 0.717 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/0.2459, allocations: 0.9052 MB / 0.7179 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00721/0.2531, allocations: 1.953 MB / 0.7198 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003808/0.2535, allocations: 103.8 kB / 0.7199 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001701/0.2552, allocations: 0.6377 MB / 0.7205 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-05/0.2553, allocations: 19.98 kB / 0.7205 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01636/0.2717, allocations: 6.166 MB / 0.7266 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.2717, allocations: 4.031 kB / 0.7266 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007756/0.2795, allocations: 2.215 MB / 0.7287 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002248/0.2797, allocations: 160.4 kB / 0.7289 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/0.2799, allocations: 12 kB / 0.7289 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000573/0.2805, allocations: 47.94 kB / 0.7289 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002833/0.2808, allocations: 95.88 kB / 0.729 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.639e-05/0.2809, allocations: 31.98 kB / 0.7291 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006949/0.2816, allocations: 499 kB / 0.7295 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2816, allocations: 0 / 0.7295 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009002/0.2825, allocations: 271.4 kB / 0.7298 GB, free: 1.441 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009726/0.2922, allocations: 3.25 MB / 0.733 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003971/0.2962, allocations: 1.558 MB / 0.7345 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.2962, allocations: 0 / 0.7345 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002494/0.2987, allocations: 0.9726 MB / 0.7354 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008656/0.2996, allocations: 139.9 kB / 0.7356 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02283/0.3224, allocations: 9.232 MB / 0.7446 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007662/0.3233, allocations: 1.01 MB / 0.7456 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005566/0.3238, allocations: 192 kB / 0.7458 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000489/0.3243, allocations: 315.3 kB / 0.7461 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of SimCode: time 2.575e-06/0.3243, allocations: 4 kB / 0.7461 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.356/2.681, allocations: 24.78 MB / 0.7703 GB, free: 62.86 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.11/16.79, allocations: 12 kB / 0.7703 GB, free: 62.85 MB / 0.5762 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/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)