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.00137/0.00137, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001787/0.001787, allocations: 195.6 kB / 16.14 MB, free: 6.707 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.393/1.393, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.5366/0.5366, allocations: 4.628 MB / 294.6 MB, free: 3.094 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 67.89 kB / 356 MB, free: 2.953 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1266, allocations: 50.5 MB / 406.5 MB, free: 416 kB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_ArtificialInput): time 0.003425/0.1301, allocations: 1.717 MB / 408.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008771/0.131, allocations: 494.7 kB / 408.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.375e-05/0.1311, allocations: 0 / 408.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.1312, allocations: 3.938 kB / 408.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.566e-05/0.1313, allocations: 15.86 kB / 408.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.1315, allocations: 43.89 kB / 408.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.1317, allocations: 107.6 kB / 408.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.1319, allocations: 41.42 kB / 408.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.132, allocations: 47.83 kB / 408.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.815e-05/0.1321, allocations: 55.75 kB / 409 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.986e-05/0.1321, allocations: 7.938 kB / 409 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.483e-05/0.1322, allocations: 8 kB / 409 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.924e-05/0.1322, allocations: 19.86 kB / 409 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.668e-05/0.1323, allocations: 51.66 kB / 409.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.1325, allocations: 99.89 kB / 409.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.1325, allocations: 0 / 409.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1325, allocations: 4 kB / 409.2 MB, free: 13.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.902e-06/0.1325, allocations: 0 / 409.2 MB, free: 13.69 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.0008719/0.1334, allocations: 456.7 kB / 409.6 MB, free: 13.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.1335, allocations: 8.031 kB / 409.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.661e-05/0.1335, allocations: 50.77 kB / 409.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.919e-05/0.1336, allocations: 16.75 kB / 409.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.1338, allocations: 204.7 kB / 409.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.1338, allocations: 20 kB / 409.9 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.1339, allocations: 16 kB / 409.9 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004116/0.1343, allocations: 176.5 kB / 410.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.1343, allocations: 0 / 410.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.1343, allocations: 0 / 410.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.1343, allocations: 4 kB / 410.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000401/0.1347, allocations: 139.8 kB / 410.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000984/0.1357, allocations: 0.7276 MB / 410.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004045/0.1361, allocations: 177 kB / 411.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002189/0.1364, allocations: 88.23 kB / 411.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.1364, allocations: 0 / 411.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003529/0.1368, allocations: 159.5 kB / 411.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.1368, allocations: 0 / 411.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.000755/0.1375, allocations: 237.6 kB / 411.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.1377, allocations: 158.2 kB / 411.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.1378, allocations: 171.3 kB / 411.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.1379, allocations: 29.7 kB / 411.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.236e-05/0.138, allocations: 112 kB / 412.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.138, allocations: 35.61 kB / 412.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.95e-05/0.1381, allocations: 25.7 kB / 412.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.1382, allocations: 334.8 kB / 412.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.1384, allocations: 55.94 kB / 412.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002006/0.1386, allocations: 96.17 kB / 412.6 MB, free: 9.875 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003688/0.139, allocations: 173.8 kB / 412.8 MB, free: 9.684 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.139, allocations: 0 / 412.8 MB, free: 9.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000492/0.1395, allocations: 219 kB / 413 MB, free: 9.457 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.167e-05/0.1396, allocations: 33.7 kB / 413 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1396, allocations: 0 / 413 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.1396, allocations: 4 kB / 413 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.1398, allocations: 35.97 kB / 413 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.1398, allocations: 4 kB / 413.1 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.14, allocations: 31.81 kB / 413.1 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.14, allocations: 4 kB / 413.1 MB, free: 9.34 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 (powElePul.count,$PRE.powElePul.count,powElePul.T_start,$PRE.powElePul.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001235/0.1401, allocations: 125.8 kB / 413.2 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/0.1402, allocations: 11.91 kB / 413.2 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002143/0.1404, allocations: 90.52 kB / 413.3 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1404, allocations: 4.031 kB / 413.3 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.1404, allocations: 4 kB / 413.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.1404, allocations: 3.938 kB / 413.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003115/0.1408, allocations: 334.4 kB / 413.6 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1408, allocations: 4 kB / 413.7 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001424/0.1409, allocations: 27.91 kB / 413.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1409, allocations: 0 / 413.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.1409, allocations: 8.031 kB / 413.7 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.141, allocations: 7.922 kB / 413.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.141, allocations: 8.047 kB / 413.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005151/0.1415, allocations: 286.9 kB / 414 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.752e-05/0.1416, allocations: 92.91 kB / 414.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.22e-05/0.1416, allocations: 7.984 kB / 414.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.1418, allocations: 19.92 kB / 414.1 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.904e-05/0.1419, allocations: 19.97 kB / 414.1 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.1419, allocations: 8 kB / 414.1 MB, free: 8.172 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001176/0.142, allocations: 124.8 kB / 414.2 MB, free: 8.051 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.142, allocations: 4 kB / 414.3 MB, free: 8.047 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.1423, allocations: 24 kB / 414.3 MB, free: 8.023 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 (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.001079/0.1434, allocations: 0.8951 MB / 415.2 MB, free: 7.086 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005079/0.1439, allocations: 199.2 kB / 415.4 MB, free: 6.879 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.1439, allocations: 0 / 415.4 MB, free: 6.879 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002537/0.1442, allocations: 83.88 kB / 415.4 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.1445, allocations: 32.33 kB / 415.5 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002752/0.1473, allocations: 2.049 MB / 417.5 MB, free: 4.586 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.1476, allocations: 0.7238 MB / 418.3 MB, free: 3.836 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.654e-05/0.1477, allocations: 20.41 kB / 418.3 MB, free: 3.816 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.548e-05/0.1478, allocations: 35.42 kB / 418.3 MB, free: 3.781 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1478, allocations: 4 kB / 418.3 MB, free: 3.777 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0241/0.1719, allocations: 2.626 MB / 420.9 MB, free: 1.23 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002791/0.1722, allocations: 194 kB / 421.1 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.617/2.789, allocations: 0 / 421.1 MB, free: 0.9648 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/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)