Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.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.BuildingStock.RnCm.Examples.R3C2_PIControlled,fileNamePrefix="BuildSysPro_BuildSysPro_BuildingStock_RnCm_Examples_R3C2_PIControlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled,fileNamePrefix="BuildSysPro_BuildSysPro_BuildingStock_RnCm_Examples_R3C2_PIControlled",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.004808/0.004808, allocations: 99.05 kB / 15.73 MB, free: 6.055 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.001248/0.001248, allocations: 201.4 kB / 16.68 MB, free: 5.977 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.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.9612/0.9612, allocations: 143.3 MB / 433.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 63.89 kB / 0.5952 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3456, allocations: 82.03 MB / 0.6753 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled): time 0.004174/0.3498, allocations: 3.229 MB / 0.6784 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003731/0.3536, allocations: 2.57 MB / 0.6809 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003278/0.3539, allocations: 10.47 kB / 0.681 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003765/0.3543, allocations: 94.84 kB / 0.681 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004984/0.3549, allocations: 196.6 kB / 0.6812 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.3559, allocations: 499.7 kB / 0.6817 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0008876/0.3568, allocations: 0.8445 MB / 0.6825 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004353/0.3573, allocations: 328.7 kB / 0.6828 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004281/0.3577, allocations: 334 kB / 0.6832 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005364/0.3582, allocations: 392.1 kB / 0.6835 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001223/0.3584, allocations: 87.28 kB / 0.6836 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005681/0.359, allocations: 368.5 kB / 0.684 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002244/0.3592, allocations: 246.4 kB / 0.6842 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003553/0.3596, allocations: 392.9 kB / 0.6846 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.3608, allocations: 1.147 MB / 0.6857 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3608, allocations: 1.156 kB / 0.6857 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3608, allocations: 0 / 0.6857 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.169e-05/0.3609, allocations: 0 / 0.6857 GB, free: 9.246 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.001989/0.3628, allocations: 1.143 MB / 0.6868 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.3629, allocations: 8.688 kB / 0.6868 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001341/0.363, allocations: 110.8 kB / 0.6869 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002392/0.3633, allocations: 89.98 kB / 0.687 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006409/0.3639, allocations: 0.4892 MB / 0.6875 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.3641, allocations: 91.91 kB / 0.6876 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.3642, allocations: 67.42 kB / 0.6877 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/0.3657, allocations: 0.7966 MB / 0.6884 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.3658, allocations: 0 / 0.6884 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.397e-05/0.3658, allocations: 30.2 kB / 0.6885 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.3659, allocations: 15.5 kB / 0.6885 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001789/0.3677, allocations: 0.7906 MB / 0.6892 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003838/0.3715, allocations: 2.721 MB / 0.6919 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/0.3731, allocations: 0.7191 MB / 0.6926 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009485/0.374, allocations: 444.7 kB / 0.693 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006098/0.3746, allocations: 0.5156 MB / 0.6935 GB, free: 3.074 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.3747, allocations: 39 kB / 0.6936 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=62): time 2.504e-06/0.3747, allocations: 0 / 0.6936 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of matching and sorting (n=62): time 0.008887/0.3836, allocations: 2.265 MB / 0.6958 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.884e-05/0.3837, allocations: 144.9 kB / 0.6959 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005966/0.3843, allocations: 469.9 kB / 0.6964 GB, free: 88 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.391e-05/0.3844, allocations: 37.7 kB / 0.6964 GB, free: 44 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002486/0.3846, allocations: 316.9 kB / 0.6967 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001921/0.3848, allocations: 214.1 kB / 0.6969 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002074/0.385, allocations: 114.2 kB / 0.697 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.3852, allocations: 366.8 kB / 0.6974 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007636/0.386, allocations: 305 kB / 0.6977 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008161/0.3868, allocations: 403.1 kB / 0.698 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004682/0.3915, allocations: 1.841 MB / 0.6998 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3915, allocations: 0 / 0.6998 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.004438/0.396, allocations: 1.361 MB / 0.7012 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.78e-05/0.396, allocations: 67.39 kB / 0.7012 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004352/0.4004, allocations: 1.311 MB / 0.7025 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009187/0.4013, allocations: 328.5 kB / 0.7028 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005236/0.4019, allocations: 119.8 kB / 0.7029 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008459/0.4103, allocations: 3.077 MB / 0.7059 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005814/0.4109, allocations: 67.58 kB / 0.706 GB, free: 5.891 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-05/0.411, allocations: 27.98 kB / 0.706 GB, free: 5.863 MB / 0.5294 GB Warning: Assuming fixed start value for the following 3 variables: R3C2_1.Tint.T:VARIABLE(min = 0.0 start = 288.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of the element" type: Real R3C2_1.Ts.T:VARIABLE(min = 0.0 start = 288.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of the element" type: Real PI1.x:VARIABLE(start = PI1.x_start fixed = true ) "State of block" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 6 (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 (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005072/0.4116, allocations: 286.1 kB / 0.7063 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001741/0.4117, allocations: 59.62 kB / 0.7064 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004587/0.4163, allocations: 1.357 MB / 0.7077 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.4164, allocations: 4 kB / 0.7077 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.4164, allocations: 4 kB / 0.7077 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.4164, allocations: 3.984 kB / 0.7077 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.4174, allocations: 0.7443 MB / 0.7084 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.004361/0.4218, allocations: 1.286 MB / 0.7097 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004611/0.4223, allocations: 91.89 kB / 0.7098 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008794/0.4232, allocations: 324.5 kB / 0.7101 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.532e-05/0.4233, allocations: 27.91 kB / 0.7101 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008408/0.4317, allocations: 3.08 MB / 0.7131 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.4317, allocations: 0 / 0.7131 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005617/0.4373, allocations: 1.91 MB / 0.715 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003574/0.4377, allocations: 224.5 kB / 0.7152 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.4378, allocations: 15.98 kB / 0.7152 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004226/0.4383, allocations: 27.97 kB / 0.7152 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001908/0.4385, allocations: 64.41 kB / 0.7153 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.905e-05/0.4385, allocations: 23.98 kB / 0.7153 GB, free: 12.07 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004212/0.439, allocations: 335.1 kB / 0.7156 GB, free: 11.75 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.439, allocations: 0 / 0.7156 GB, free: 11.75 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007491/0.4397, allocations: 231.4 kB / 0.7159 GB, free: 11.52 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (R3C2_1.Tint.T,R3C2_1.Ts.T,PI1.x) * Number of discrete variables: 6 (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 (54): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * When equations: 6 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00745/0.4472, allocations: 2.868 MB / 0.7187 GB, free: 8.797 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002684/0.4499, allocations: 1.139 MB / 0.7198 GB, free: 7.613 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.4499, allocations: 3.938 kB / 0.7198 GB, free: 7.609 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001579/0.4515, allocations: 0.694 MB / 0.7205 GB, free: 6.883 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006119/0.4521, allocations: 94.03 kB / 0.7206 GB, free: 6.797 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01522/0.4674, allocations: 6.854 MB / 0.7272 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00061/0.468, allocations: 0.9377 MB / 0.7282 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004208/0.4685, allocations: 128.7 kB / 0.7283 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003719/0.4688, allocations: 235.3 kB / 0.7285 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of SimCode: time 5.71e-07/0.4688, allocations: 0 / 0.7285 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.363/1.832, allocations: 17.2 MB / 0.7453 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.53/16.37, allocations: 11.83 kB / 0.7453 GB, free: 13.39 MB / 0.5762 GB (rm -f BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.pipe ; mkfifo BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.pipe >> ../files/BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_BuildingStock_RnCm_Examples_R3C2_PIControlled_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_BuildingStock_RnCm_Examples_R3C2_PIControlled.fmu > BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.pipe 2>&1)