Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Controlled.conf.json 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/FastBuildings master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/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) Running command: "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Controlled,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Controlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Controlled,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Controlled",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01208/0.01208, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02661/0.02661, allocations: 4.634 MB / 20.48 MB, free: 1.477 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.649/1.649, allocations: 223.2 MB / 245.5 MB, free: 12.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009162/0.0009163, allocations: 101.5 kB / 297.7 MB, free: 8.867 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003253/0.0003253, allocations: 11.98 kB / 359.8 MB, free: 10.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2549, allocations: 51.47 MB / 411.3 MB, free: 50.29 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0925/0.3474, allocations: 78.98 MB / 490.3 MB, free: 80 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000145/0.3476, allocations: 51.98 kB / 490.3 MB, free: 28 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01795/0.3656, allocations: 7.199 MB / 497.5 MB, free: 8.867 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3656, allocations: 0 / 497.5 MB, free: 8.867 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.753e-05/0.3656, allocations: 12 kB / 497.5 MB, free: 8.855 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001162/0.3668, allocations: 0.6777 MB / 498.2 MB, free: 8.125 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.3669, allocations: 12.03 kB / 498.2 MB, free: 8.113 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.781e-05/0.367, allocations: 66.53 kB / 498.3 MB, free: 8.039 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.346e-05/0.367, allocations: 47.48 kB / 498.3 MB, free: 7.992 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003906/0.3674, allocations: 305.4 kB / 498.6 MB, free: 7.656 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.3676, allocations: 66.34 kB / 498.7 MB, free: 7.586 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.793e-05/0.3676, allocations: 28 kB / 498.7 MB, free: 7.559 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007554/0.3684, allocations: 408.9 kB / 499.1 MB, free: 7.152 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.3684, allocations: 0 / 499.1 MB, free: 7.152 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.321e-05/0.3684, allocations: 12 kB / 499.1 MB, free: 7.141 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.3685, allocations: 8 kB / 499.1 MB, free: 7.133 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008083/0.3693, allocations: 362.3 kB / 499.5 MB, free: 6.773 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002198/0.3715, allocations: 1.531 MB / 0.4893 GB, free: 5.141 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.3725, allocations: 417.3 kB / 0.4897 GB, free: 4.715 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.3726, allocations: 8 kB / 0.4897 GB, free: 4.707 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005325/0.3731, allocations: 257.5 kB / 0.4899 GB, free: 4.438 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.814e-06/0.3731, allocations: 0 / 0.4899 GB, free: 4.438 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.001296/0.3744, allocations: 0.5336 MB / 0.4905 GB, free: 3.895 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.3745, allocations: 85.22 kB / 0.4905 GB, free: 3.793 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002738/0.3748, allocations: 258.1 kB / 0.4908 GB, free: 3.543 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.789e-05/0.3748, allocations: 33.64 kB / 0.4908 GB, free: 3.504 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.3749, allocations: 200.2 kB / 0.491 GB, free: 3.305 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.325e-05/0.375, allocations: 86.81 kB / 0.4911 GB, free: 3.219 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.821e-05/0.3751, allocations: 4 kB / 0.4911 GB, free: 3.215 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.3752, allocations: 346.7 kB / 0.4914 GB, free: 2.867 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003865/0.3756, allocations: 159.9 kB / 0.4916 GB, free: 2.711 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004063/0.376, allocations: 220.9 kB / 0.4918 GB, free: 2.477 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004118/0.3764, allocations: 202.2 kB / 0.492 GB, free: 2.273 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3764, allocations: 4 kB / 0.492 GB, free: 2.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009529/0.3774, allocations: 482.7 kB / 0.4924 GB, free: 1.785 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.3774, allocations: 30.64 kB / 0.4925 GB, free: 1.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.3775, allocations: 4.156 kB / 0.4925 GB, free: 1.746 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.3775, allocations: 11.94 kB / 0.4925 GB, free: 1.734 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.3785, allocations: 279.7 kB / 0.4928 GB, free: 1.461 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001418/0.3799, allocations: 1.524 MB / 0.4942 GB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003381/0.3803, allocations: 67.83 kB / 0.4943 GB, free: 15.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/0.3803, allocations: 15.94 kB / 0.4943 GB, free: 15.73 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.simFasBui.powElePul.T_start,simFasBui.powElePul.T_start,$PRE.simFasBui.powElePul.count,simFasBui.powElePul.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001909/0.3805, allocations: 169.8 kB / 0.4945 GB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.476e-05/0.3806, allocations: 31.58 kB / 0.4945 GB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008469/0.3814, allocations: 399.8 kB / 0.4949 GB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.3814, allocations: 4 kB / 0.4949 GB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.3814, allocations: 0 / 0.4949 GB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3814, allocations: 3.984 kB / 0.4949 GB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004753/0.3819, allocations: 453.2 kB / 0.4953 GB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.3819, allocations: 4 kB / 0.4953 GB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.383, allocations: 271.7 kB / 0.4956 GB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.383, allocations: 3.953 kB / 0.4956 GB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.824e-05/0.383, allocations: 8 kB / 0.4956 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00135/0.3844, allocations: 1.524 MB / 0.4971 GB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3844, allocations: 0 / 0.4971 GB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.3857, allocations: 0.632 MB / 0.4977 GB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.417e-05/0.3857, allocations: 104.8 kB / 0.4978 GB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.744e-05/0.3858, allocations: 12 kB / 0.4978 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.386, allocations: 43.81 kB / 0.4979 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.31e-05/0.3861, allocations: 31.95 kB / 0.4979 GB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.3862, allocations: 8 kB / 0.4979 GB, free: 11.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001869/0.3864, allocations: 205.9 kB / 0.4981 GB, free: 11.61 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3864, allocations: 0 / 0.4981 GB, free: 11.61 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004027/0.3868, allocations: 91.84 kB / 0.4982 GB, free: 11.52 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (bui.zon.capZon.heaPor.T,bui.zon.capWal.heaPor.T,bui.zon.capEmb.heaPor.T) * Number of discrete variables: 3 ($whenCondition1,simFasBui.powElePul.T_start,simFasBui.powElePul.count) * Number of discrete states: 1 (simFasBui.powElePul.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001666/0.3885, allocations: 1.265 MB / 0.4994 GB, free: 10.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001481/0.39, allocations: 0.5851 MB / 0.5 GB, free: 9.617 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.39, allocations: 4.062 kB / 0.5 GB, free: 9.613 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009658/0.3909, allocations: 355.7 kB / 0.5003 GB, free: 9.266 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.3913, allocations: 37.66 kB / 0.5004 GB, free: 9.227 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004725/0.396, allocations: 3.156 MB / 0.5035 GB, free: 5.992 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.3964, allocations: 0.8051 MB / 0.5042 GB, free: 5.164 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001594/0.3966, allocations: 34.27 kB / 0.5043 GB, free: 5.129 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.3967, allocations: 103.4 kB / 0.5044 GB, free: 5.031 MB / 378.7 MB Notification: Performance of SimCode: time 4.21e-07/0.3968, allocations: 0 / 0.5044 GB, free: 5.031 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01838/0.4151, allocations: 6.216 MB / 0.5104 GB, free: 15.02 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002201/0.4154, allocations: 196.6 kB / 0.5106 GB, free: 14.78 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.702/2.117, allocations: 0 / 0.5106 GB, free: 14.78 MB / 394.7 MB (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Controlled.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_SingleZone_Controlled_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_SingleZone_Controlled.fmu > FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe 2>&1)