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.001025/0.001025, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009985/0.0009984, allocations: 177.3 kB / 15.95 MB, free: 216 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.345/1.345, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1506/0.1506, allocations: 4.608 MB / 295.6 MB, free: 3.984 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.0003528, allocations: 8 kB / 357.7 MB, free: 2.488 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1028, allocations: 51.49 MB / 409.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_ArtificialInput): time 0.00176/0.1046, allocations: 1.348 MB / 410.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006636/0.1052, allocations: 451.2 kB / 411 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.561e-05/0.1053, allocations: 0 / 411 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.195e-05/0.1054, allocations: 11.88 kB / 411 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.502e-05/0.1055, allocations: 19.95 kB / 411 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001651/0.1057, allocations: 27.97 kB / 411 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.1058, allocations: 75.83 kB / 411.1 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.1059, allocations: 41.34 kB / 411.1 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.1061, allocations: 47.78 kB / 411.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.655e-05/0.1062, allocations: 43.83 kB / 411.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.1062, allocations: 4 kB / 411.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.953e-05/0.1062, allocations: 4 kB / 411.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.089e-05/0.1062, allocations: 15.91 kB / 411.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.462e-05/0.1063, allocations: 41.64 kB / 411.3 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.867e-05/0.1064, allocations: 68.09 kB / 411.3 MB, free: 12.74 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1064, allocations: 0 / 411.3 MB, free: 12.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1064, allocations: 3.938 kB / 411.4 MB, free: 12.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.1064, allocations: 0 / 411.4 MB, free: 12.74 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.0007625/0.1072, allocations: 462 kB / 411.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.1072, allocations: 8.031 kB / 411.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.091e-05/0.1073, allocations: 54.58 kB / 411.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.337e-05/0.1074, allocations: 7.906 kB / 411.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.1077, allocations: 206 kB / 412.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.1077, allocations: 12.19 kB / 412.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.035e-05/0.1077, allocations: 8 kB / 412.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006042/0.1084, allocations: 187.1 kB / 412.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.1084, allocations: 0 / 412.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.1084, allocations: 8 kB / 412.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1084, allocations: 0 / 412.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004175/0.1088, allocations: 151.8 kB / 412.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000949/0.1098, allocations: 0.7549 MB / 413.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000622/0.1104, allocations: 189 kB / 413.4 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.1105, allocations: 8 kB / 413.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003291/0.1108, allocations: 171.5 kB / 413.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.1108, allocations: 3.938 kB / 413.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.000787/0.1116, allocations: 261.8 kB / 413.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.304e-05/0.1117, allocations: 162.2 kB / 414 MB, free: 9.824 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.1119, allocations: 167.3 kB / 414.1 MB, free: 9.641 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.171e-05/0.112, allocations: 25.7 kB / 414.2 MB, free: 9.609 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.1121, allocations: 123.8 kB / 414.3 MB, free: 9.484 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.1121, allocations: 27.64 kB / 414.3 MB, free: 9.457 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-06/0.1121, allocations: 0 / 414.3 MB, free: 9.457 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1123, allocations: 326.8 kB / 414.6 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000221/0.1125, allocations: 71.94 kB / 414.7 MB, free: 9.059 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/0.1127, allocations: 100.2 kB / 414.8 MB, free: 8.945 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000274/0.113, allocations: 101.6 kB / 414.9 MB, free: 8.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.113, allocations: 7.953 kB / 414.9 MB, free: 8.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005324/0.1136, allocations: 243 kB / 415.1 MB, free: 8.582 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.782e-05/0.1136, allocations: 32.05 kB / 415.2 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.1136, allocations: 4 kB / 415.2 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.1137, allocations: 192 / 415.2 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001894/0.1139, allocations: 44.03 kB / 415.2 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.1139, allocations: 4 kB / 415.2 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.1141, allocations: 23.97 kB / 415.2 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.1141, allocations: 4 kB / 415.2 MB, free: 8.469 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.0001147/0.1142, allocations: 137.8 kB / 415.4 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.1142, allocations: 19.77 kB / 415.4 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002323/0.1145, allocations: 94.58 kB / 415.5 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1145, allocations: 0 / 415.5 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.1145, allocations: 4 kB / 415.5 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1145, allocations: 0 / 415.5 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002768/0.1148, allocations: 338.5 kB / 415.8 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.1148, allocations: 8 kB / 415.8 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.115, allocations: 27.97 kB / 415.9 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.115, allocations: 7.938 kB / 415.9 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.115, allocations: 0 / 415.9 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.115, allocations: 7.938 kB / 415.9 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.115, allocations: 0 / 415.9 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005947/0.1156, allocations: 365.6 kB / 416.2 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.331e-05/0.1157, allocations: 88.92 kB / 416.3 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.1157, allocations: 7.953 kB / 416.3 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001886/0.1159, allocations: 23.97 kB / 416.3 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.314e-05/0.116, allocations: 15.98 kB / 416.4 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.27e-05/0.116, allocations: 7.984 kB / 416.4 MB, free: 7.188 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.499e-05/0.1161, allocations: 124.9 kB / 416.5 MB, free: 7.066 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1161, allocations: 0 / 416.5 MB, free: 7.066 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.1164, allocations: 24 kB / 416.5 MB, free: 7.043 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.001174/0.1176, allocations: 1.255 MB / 417.8 MB, free: 5.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005277/0.1181, allocations: 227.2 kB / 418 MB, free: 5.496 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1181, allocations: 0 / 418 MB, free: 5.496 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003186/0.1185, allocations: 96.25 kB / 418.1 MB, free: 5.402 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.1187, allocations: 23.94 kB / 418.1 MB, free: 5.379 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002364/0.1211, allocations: 1.584 MB / 419.7 MB, free: 3.723 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.1214, allocations: 0.7199 MB / 420.4 MB, free: 2.977 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.205e-05/0.1215, allocations: 16.42 kB / 420.4 MB, free: 2.961 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.1216, allocations: 35.42 kB / 420.5 MB, free: 2.926 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1216, allocations: 0 / 420.5 MB, free: 2.926 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01415/0.1358, allocations: 2.496 MB / 423 MB, free: 0.543 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002252/0.136, allocations: 172.8 kB / 423.1 MB, free: 304 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.672/1.808, allocations: 3.938 kB / 423.1 MB, free: 300 kB / 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: