Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FastBuildings_FastBuildings.Input.SIM_ArtificialInput.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.Input.SIM_ArtificialInput,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_ArtificialInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Input.SIM_ArtificialInput,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_ArtificialInput",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.0007958/0.0007957, allocations: 92 kB / 15.06 MB, free: 1.098 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.0008148/0.0008146, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.2014/0.2014, allocations: 4.621 MB / 295.7 MB, free: 4 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003569/0.000357, allocations: 8 kB / 357.8 MB, free: 2.43 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1131, allocations: 51.48 MB / 409.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_ArtificialInput): time 0.001958/0.1151, allocations: 1.367 MB / 410.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007033/0.1158, allocations: 447.2 kB / 411.1 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.234e-05/0.1159, allocations: 4 kB / 411.1 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.229e-05/0.116, allocations: 7.922 kB / 411.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.636e-05/0.1161, allocations: 15.81 kB / 411.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000173/0.1163, allocations: 31.95 kB / 411.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.1165, allocations: 103.6 kB / 411.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.1167, allocations: 41.41 kB / 411.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.1168, allocations: 43.83 kB / 411.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.57e-05/0.1169, allocations: 47.77 kB / 411.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.1169, allocations: 4 kB / 411.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.924e-05/0.117, allocations: 4 kB / 411.4 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.786e-05/0.117, allocations: 15.92 kB / 411.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.484e-05/0.1171, allocations: 41.64 kB / 411.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.1172, allocations: 76.03 kB / 411.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.1172, allocations: 0 / 411.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.1172, allocations: 0 / 411.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.1172, allocations: 0 / 411.5 MB, free: 12.64 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008461/0.1181, allocations: 456.5 kB / 411.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.1181, allocations: 12.03 kB / 412 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.219e-05/0.1182, allocations: 58.5 kB / 412 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.003e-05/0.1183, allocations: 11.91 kB / 412 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.1185, allocations: 206 kB / 412.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.1185, allocations: 8.188 kB / 412.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.1185, allocations: 12 kB / 412.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005044/0.119, allocations: 191.1 kB / 412.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.119, allocations: 0 / 412.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.1191, allocations: 0 / 412.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.1191, allocations: 4 kB / 412.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003946/0.1195, allocations: 159.8 kB / 412.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008594/0.1203, allocations: 0.7432 MB / 413.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003629/0.1207, allocations: 197 kB / 413.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/0.1209, allocations: 96.25 kB / 413.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.121, allocations: 7.984 kB / 413.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004237/0.1214, allocations: 167.5 kB / 413.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.1214, allocations: 0 / 413.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007141/0.1221, allocations: 261.7 kB / 414 MB, free: 9.812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.262e-05/0.1222, allocations: 166.2 kB / 414.2 MB, free: 9.613 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.1224, allocations: 163.3 kB / 414.4 MB, free: 9.434 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.1224, allocations: 29.7 kB / 414.4 MB, free: 9.398 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.894e-05/0.1225, allocations: 115.9 kB / 414.5 MB, free: 9.281 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.1225, allocations: 27.7 kB / 414.5 MB, free: 9.254 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.015e-05/0.1225, allocations: 8 kB / 414.5 MB, free: 9.246 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1227, allocations: 318.8 kB / 414.9 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.1229, allocations: 71.94 kB / 414.9 MB, free: 8.855 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.1231, allocations: 104.2 kB / 415 MB, free: 8.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002/0.1233, allocations: 105.6 kB / 415.1 MB, free: 8.629 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1233, allocations: 0 / 415.1 MB, free: 8.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005916/0.1239, allocations: 247.1 kB / 415.4 MB, free: 8.375 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.725e-05/0.1239, allocations: 41.62 kB / 415.4 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.1239, allocations: 0 / 415.4 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.124, allocations: 7.938 kB / 415.4 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.1241, allocations: 31.97 kB / 415.5 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1242, allocations: 3.938 kB / 415.5 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.1243, allocations: 31.98 kB / 415.5 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.1243, allocations: 4 kB / 415.5 MB, free: 8.25 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.powElePul.T_start,powElePul.T_start,$PRE.powElePul.count,powElePul.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001024/0.1244, allocations: 130 kB / 415.6 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.1245, allocations: 15.81 kB / 415.6 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001899/0.1247, allocations: 94.52 kB / 415.7 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1247, allocations: 4.031 kB / 415.7 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.1247, allocations: 4 kB / 415.7 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.1247, allocations: 0 / 415.7 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000261/0.125, allocations: 334.5 kB / 416.1 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.125, allocations: 0 / 416.1 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001455/0.1251, allocations: 35.91 kB / 416.1 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.1252, allocations: 4.219 kB / 416.1 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.1252, allocations: 4 kB / 416.1 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1252, allocations: 0 / 416.1 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.1252, allocations: 8.062 kB / 416.1 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005949/0.1258, allocations: 318.6 kB / 416.4 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.156e-05/0.1259, allocations: 88.92 kB / 416.5 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.1259, allocations: 4 kB / 416.5 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.1261, allocations: 27.97 kB / 416.5 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.95e-05/0.1261, allocations: 19.97 kB / 416.6 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.1262, allocations: 4 kB / 416.6 MB, free: 7.051 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.886e-05/0.1263, allocations: 124.9 kB / 416.7 MB, free: 6.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.1263, allocations: 0 / 416.7 MB, free: 6.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002727/0.1266, allocations: 24 kB / 416.7 MB, free: 6.906 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,powElePul.T_start,powElePul.count) * Number of discrete states: 1 (powElePul.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001016/0.1276, allocations: 0.9342 MB / 417.6 MB, free: 5.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004944/0.1281, allocations: 219.5 kB / 417.9 MB, free: 5.703 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1281, allocations: 0 / 417.9 MB, free: 5.703 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003391/0.1284, allocations: 91.88 kB / 417.9 MB, free: 5.613 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.1288, allocations: 29.78 kB / 418 MB, free: 5.586 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.1306, allocations: 0.9947 MB / 419 MB, free: 4.523 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.131, allocations: 0.7239 MB / 419.7 MB, free: 3.773 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.402e-05/0.1311, allocations: 12.42 kB / 419.7 MB, free: 3.762 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.744e-05/0.1312, allocations: 35.42 kB / 419.7 MB, free: 3.727 MB / 350.1 MB Notification: Performance of SimCode: time 2.224e-06/0.1312, allocations: 96 / 419.7 MB, free: 3.727 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0131/0.1443, allocations: 2.523 MB / 422.3 MB, free: 1.32 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/0.1445, allocations: 184.7 kB / 422.4 MB, free: 1.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.857/2.001, allocations: 0 / 422.4 MB, free: 1.07 MB / 350.1 MB (rm -f FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe ; mkfifo FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe >> ../files/FastBuildings_FastBuildings.Input.SIM_ArtificialInput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Input_SIM_ArtificialInput_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Input_SIM_ArtificialInput.fmu > FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe 2>&1) Environment - environmentSimulation: