Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.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/FastBuildings master/package.mo", uses=false) Using package FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings 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(FastBuildings.Examples.SingleZone_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_ArtificialInputs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_ArtificialInputs",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.0008347/0.0008347, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00606/0.006061, allocations: 169.5 kB / 16.27 MB, free: 6.336 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.298/1.298, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 1.512/1.512, allocations: 4.618 MB / 296 MB, free: 3.93 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002864/0.0002864, allocations: 4 kB / 358.4 MB, free: 2.086 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09789/0.0982, allocations: 51.5 MB / 409.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_ArtificialInputs): time 0.002817/0.101, allocations: 2.643 MB / 412.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009523/0.102, allocations: 0.674 MB / 413.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.941e-05/0.1021, allocations: 8 kB / 413.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.667e-05/0.1022, allocations: 31.7 kB / 413.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001424/0.1024, allocations: 71.41 kB / 413.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.1026, allocations: 95.92 kB / 413.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000313/0.1029, allocations: 370.5 kB / 413.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003051/0.1032, allocations: 221.2 kB / 414 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001406/0.1034, allocations: 103.5 kB / 414.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.1035, allocations: 127.4 kB / 414.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.053e-05/0.1036, allocations: 16 kB / 414.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.353e-05/0.1036, allocations: 16 kB / 414.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.343e-05/0.1037, allocations: 47.72 kB / 414.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.1038, allocations: 165 kB / 414.4 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003062/0.1041, allocations: 386.9 kB / 414.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1041, allocations: 4 kB / 414.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1041, allocations: 0 / 414.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.87e-06/0.1042, allocations: 0 / 414.8 MB, free: 9.555 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009342/0.1051, allocations: 0.5909 MB / 415.4 MB, free: 8.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.929e-05/0.1051, allocations: 12.03 kB / 415.4 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.345e-05/0.1052, allocations: 58.73 kB / 415.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.664e-05/0.1053, allocations: 32.56 kB / 415.5 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.1055, allocations: 280.6 kB / 415.8 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.1056, allocations: 20.94 kB / 415.8 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.488e-05/0.1056, allocations: 24.38 kB / 415.8 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006253/0.1062, allocations: 351.8 kB / 416.2 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.1063, allocations: 0 / 416.2 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.151e-05/0.1063, allocations: 19.92 kB / 416.2 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.1063, allocations: 4 kB / 416.2 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006666/0.107, allocations: 302 kB / 416.5 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/0.1083, allocations: 1.056 MB / 417.6 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007138/0.1091, allocations: 314.6 kB / 417.9 MB, free: 6.328 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003549/0.1094, allocations: 176.8 kB / 418 MB, free: 6.152 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.1095, allocations: 4 kB / 418 MB, free: 6.148 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004055/0.1099, allocations: 205.8 kB / 418.2 MB, free: 5.938 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.743e-06/0.1099, allocations: 0 / 418.2 MB, free: 5.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009966/0.1109, allocations: 453.4 kB / 418.7 MB, free: 5.488 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.1109, allocations: 55.41 kB / 418.7 MB, free: 5.422 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002066/0.1111, allocations: 237 kB / 419 MB, free: 5.184 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.1112, allocations: 33.7 kB / 419 MB, free: 5.145 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.1113, allocations: 164.1 kB / 419.2 MB, free: 4.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.186e-05/0.1114, allocations: 70.92 kB / 419.2 MB, free: 4.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.475e-05/0.1114, allocations: 29.7 kB / 419.3 MB, free: 4.875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.1115, allocations: 334.8 kB / 419.6 MB, free: 4.539 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003147/0.1119, allocations: 143.9 kB / 419.7 MB, free: 4.398 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003419/0.1122, allocations: 175.3 kB / 419.9 MB, free: 4.215 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000641/0.1129, allocations: 333.9 kB / 420.2 MB, free: 3.867 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1129, allocations: 0 / 420.2 MB, free: 3.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008237/0.1137, allocations: 409.9 kB / 420.6 MB, free: 3.457 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.454e-05/0.1137, allocations: 33.7 kB / 420.7 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.1138, allocations: 4 kB / 420.7 MB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.978e-06/0.1138, allocations: 4 kB / 420.7 MB, free: 3.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003212/0.1141, allocations: 71.89 kB / 420.7 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.1141, allocations: 0 / 420.7 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002487/0.1144, allocations: 47.88 kB / 420.8 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-05/0.1144, allocations: 11.98 kB / 420.8 MB, free: 3.281 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (simFasBui.powElePul.count,$PRE.simFasBui.powElePul.count,simFasBui.powElePul.T_start,$PRE.simFasBui.powElePul.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000156/0.1146, allocations: 164.2 kB / 421 MB, free: 3.113 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.982e-05/0.1146, allocations: 27.66 kB / 421 MB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007606/0.1154, allocations: 352.5 kB / 421.3 MB, free: 2.734 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.1154, allocations: 11.98 kB / 421.3 MB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.1154, allocations: 0 / 421.3 MB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1154, allocations: 0 / 421.3 MB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003622/0.1158, allocations: 389.2 kB / 421.7 MB, free: 2.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1158, allocations: 0 / 421.7 MB, free: 2.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003179/0.1161, allocations: 67.83 kB / 421.8 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1161, allocations: 0 / 421.8 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.1161, allocations: 11.92 kB / 421.8 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.1162, allocations: 8 kB / 421.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1162, allocations: 0 / 421.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.1173, allocations: 0.5254 MB / 422.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.226e-05/0.1174, allocations: 104.7 kB / 422.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.129e-05/0.1174, allocations: 8 kB / 422.4 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.1176, allocations: 31.91 kB / 422.5 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.262e-05/0.1177, allocations: 23.97 kB / 422.5 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.1177, allocations: 7.984 kB / 422.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001788/0.1179, allocations: 172.5 kB / 422.7 MB, free: 1.305 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1179, allocations: 0 / 422.7 MB, free: 1.305 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002903/0.1182, allocations: 71.84 kB / 422.7 MB, free: 1.234 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (bui.zon.capZon.heaPor.T,bui.zon.capInt.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 (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001376/0.1196, allocations: 1.068 MB / 423.8 MB, free: 144 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.1656/0.2852, allocations: 365.6 kB / 424.2 MB, free: 45.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.2853, allocations: 2.781 kB / 424.2 MB, free: 45.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003601/0.2856, allocations: 159.5 kB / 424.3 MB, free: 45.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.286, allocations: 36.38 kB / 424.4 MB, free: 45.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004051/0.2901, allocations: 3.126 MB / 427.5 MB, free: 44.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000175/0.2903, allocations: 0.7769 MB / 428.3 MB, free: 43.37 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000133/0.2904, allocations: 31.91 kB / 428.3 MB, free: 43.37 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.2906, allocations: 82.53 kB / 428.4 MB, free: 43.36 MB / 350.1 MB Notification: Performance of SimCode: time 1.143e-06/0.2906, allocations: 0 / 428.4 MB, free: 43.36 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1362/0.4268, allocations: 4.94 MB / 433.3 MB, free: 43.06 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001544/0.427, allocations: 200 kB / 433.5 MB, free: 42.8 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.8/2.227, allocations: 4 kB / 433.5 MB, free: 42.8 MB / 350.1 MB (rm -f FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_SingleZone_ArtificialInputs_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_SingleZone_ArtificialInputs.fmu > FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe 2>&1)