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.001989/0.001989, allocations: 174.1 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.03812/0.03812, allocations: 4.534 MB / 17.8 MB, free: 2.516 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.487/1.487, allocations: 221.3 MB / 240.8 MB, free: 8.75 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.0008825/0.0008825, allocations: 96.62 kB / 292.8 MB, free: 8.008 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.971e-05/2.979e-05, allocations: 8 kB / 352.3 MB, free: 12.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2802, allocations: 51.48 MB / 403.8 MB, free: 28.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1032/0.3835, allocations: 78.9 MB / 482.7 MB, free: 13.55 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001566/0.3837, allocations: 47.98 kB / 482.7 MB, free: 13.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01928/0.403, allocations: 7.201 MB / 489.9 MB, free: 6.277 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.403, allocations: 0 / 489.9 MB, free: 6.277 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.96e-05/0.4031, allocations: 4 kB / 489.9 MB, free: 6.273 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.00134/0.4044, allocations: 0.6424 MB / 490.5 MB, free: 5.582 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.4045, allocations: 12.03 kB / 490.6 MB, free: 5.57 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001511/0.4046, allocations: 66.53 kB / 490.6 MB, free: 5.496 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001503/0.4048, allocations: 43.48 kB / 490.7 MB, free: 5.453 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005196/0.4053, allocations: 309.4 kB / 491 MB, free: 5.109 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.4055, allocations: 58.47 kB / 491 MB, free: 5.043 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.852e-05/0.4056, allocations: 32 kB / 491.1 MB, free: 5.012 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007051/0.4063, allocations: 351 kB / 491.4 MB, free: 4.656 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.4063, allocations: 0 / 491.4 MB, free: 4.656 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.825e-05/0.4063, allocations: 15.92 kB / 491.4 MB, free: 4.641 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.4064, allocations: 8 kB / 491.4 MB, free: 4.633 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005122/0.4069, allocations: 251 kB / 491.7 MB, free: 4.387 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002464/0.4093, allocations: 1.527 MB / 493.2 MB, free: 2.758 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007234/0.4101, allocations: 313.4 kB / 493.5 MB, free: 2.434 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002699/0.4104, allocations: 168.1 kB / 493.7 MB, free: 2.266 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.892e-05/0.4104, allocations: 7.984 kB / 493.7 MB, free: 2.258 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003834/0.4108, allocations: 206 kB / 493.9 MB, free: 2.039 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.453e-06/0.4108, allocations: 0 / 493.9 MB, free: 2.039 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.0005698/0.4114, allocations: 281.1 kB / 494.1 MB, free: 1.758 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.172e-05/0.4115, allocations: 81.11 kB / 494.2 MB, free: 1.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003037/0.4118, allocations: 255.4 kB / 494.5 MB, free: 1.398 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.4118, allocations: 29.7 kB / 494.5 MB, free: 1.363 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.412, allocations: 200 kB / 494.7 MB, free: 1.164 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.734e-05/0.4121, allocations: 78.81 kB / 494.8 MB, free: 1.086 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.942e-05/0.4121, allocations: 8 kB / 494.8 MB, free: 1.078 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.4123, allocations: 338.8 kB / 495.1 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.4125, allocations: 112 kB / 495.2 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002415/0.4127, allocations: 161.4 kB / 495.4 MB, free: 464 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002684/0.413, allocations: 149.6 kB / 495.5 MB, free: 308 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.413, allocations: 4 kB / 495.5 MB, free: 304 kB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006592/0.4137, allocations: 370.8 kB / 495.9 MB, free: 15.92 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.513e-05/0.4137, allocations: 41.62 kB / 495.9 MB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.4138, allocations: 0 / 495.9 MB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.4138, allocations: 7.953 kB / 495.9 MB, free: 15.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/0.4149, allocations: 279.8 kB / 496.2 MB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/0.4161, allocations: 1.418 MB / 497.6 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003732/0.4165, allocations: 67.83 kB / 497.7 MB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-05/0.4166, allocations: 12 kB / 497.7 MB, free: 13.96 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 () * 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.0001271/0.4167, allocations: 126.8 kB / 497.8 MB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.487e-05/0.4168, allocations: 31.66 kB / 497.9 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005562/0.4173, allocations: 303.3 kB / 498.2 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.4173, allocations: 0 / 498.2 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.4173, allocations: 4 kB / 498.2 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.4173, allocations: 0 / 498.2 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005669/0.4179, allocations: 445.2 kB / 498.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.4179, allocations: 0 / 498.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/0.4191, allocations: 271.7 kB / 498.9 MB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-05/0.4191, allocations: 7.938 kB / 498.9 MB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.237e-05/0.4191, allocations: 8 kB / 498.9 MB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001046/0.4202, allocations: 1.414 MB / 0.4886 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/0.4202, allocations: 8.016 kB / 0.4886 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007399/0.4209, allocations: 475.1 kB / 0.489 GB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.4211, allocations: 108.8 kB / 0.4891 GB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.88e-05/0.4211, allocations: 8.094 kB / 0.4891 GB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002746/0.4214, allocations: 43.95 kB / 0.4892 GB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.4215, allocations: 23.97 kB / 0.4892 GB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.724e-05/0.4215, allocations: 11.98 kB / 0.4892 GB, free: 10.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002207/0.4218, allocations: 199.1 kB / 0.4894 GB, free: 10.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.4218, allocations: 0 / 0.4894 GB, free: 10.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004611/0.4222, allocations: 99.67 kB / 0.4895 GB, free: 10.19 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) * 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.00113/0.4234, allocations: 1.098 MB / 0.4906 GB, free: 9.051 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.4246, allocations: 483.2 kB / 0.491 GB, free: 8.566 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.4246, allocations: 0 / 0.491 GB, free: 8.566 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008642/0.4255, allocations: 300 kB / 0.4913 GB, free: 8.273 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.4258, allocations: 52.8 kB / 0.4914 GB, free: 8.219 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002012/0.4279, allocations: 0.8186 MB / 0.4922 GB, free: 7.352 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.4283, allocations: 0.803 MB / 0.493 GB, free: 6.523 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001763/0.4285, allocations: 34 kB / 0.493 GB, free: 6.492 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001822/0.4287, allocations: 103.4 kB / 0.4931 GB, free: 6.391 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.4287, allocations: 4 kB / 0.4931 GB, free: 6.387 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.4491, allocations: 6.171 MB / 0.4991 GB, free: 396 kB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002079/0.4494, allocations: 182.1 kB / 0.4993 GB, free: 156 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.798/2.247, allocations: 0 / 0.4993 GB, free: 156 kB / 378.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)