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.0007336/0.0007337, allocations: 98.19 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.004215/0.004215, allocations: 168.5 kB / 16.26 MB, free: 6.652 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.308/1.308, allocations: 223.2 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 1.702/1.702, allocations: 4.625 MB / 296 MB, free: 4.047 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004523/0.0004524, allocations: 12 kB / 358.4 MB, free: 2.078 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1344, allocations: 51.49 MB / 409.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_ArtificialInput): time 0.002464/0.1369, allocations: 1.383 MB / 411.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.1381, allocations: 474.8 kB / 411.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.589e-05/0.1382, allocations: 0 / 411.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001351/0.1383, allocations: 7.922 kB / 411.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.1385, allocations: 19.8 kB / 411.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002894/0.1388, allocations: 27.97 kB / 411.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002387/0.139, allocations: 115.6 kB / 411.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002343/0.1393, allocations: 45.41 kB / 411.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001857/0.1395, allocations: 43.78 kB / 412 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.1397, allocations: 47.77 kB / 412 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.59e-05/0.1397, allocations: 4 kB / 412 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.624e-05/0.1398, allocations: 4 kB / 412 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.086e-05/0.1398, allocations: 19.92 kB / 412.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.14, allocations: 69.36 kB / 412.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.1402, allocations: 99.89 kB / 412.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.1402, allocations: 0 / 412.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1402, allocations: 0 / 412.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.1403, allocations: 3.938 kB / 412.2 MB, free: 12.17 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.001174/0.1414, allocations: 456.7 kB / 412.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.1415, allocations: 8.031 kB / 412.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001081/0.1416, allocations: 50.77 kB / 412.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.783e-05/0.1417, allocations: 12.84 kB / 412.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002987/0.142, allocations: 211.4 kB / 413 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.378e-05/0.1421, allocations: 12.12 kB / 413 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.54e-05/0.1421, allocations: 11.94 kB / 413 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006604/0.1428, allocations: 185.8 kB / 413.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1428, allocations: 0 / 413.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.1429, allocations: 11.98 kB / 413.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.1429, allocations: 0 / 413.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007699/0.1437, allocations: 151.8 kB / 413.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009479/0.1446, allocations: 0.7511 MB / 414.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004016/0.1451, allocations: 189 kB / 414.3 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002287/0.1453, allocations: 100.3 kB / 414.4 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.1453, allocations: 7.984 kB / 414.4 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003319/0.1457, allocations: 167.5 kB / 414.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.1457, allocations: 8 kB / 414.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007669/0.1465, allocations: 265.4 kB / 414.8 MB, free: 9.328 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.797e-05/0.1465, allocations: 162.5 kB / 415 MB, free: 9.133 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.1467, allocations: 167.3 kB / 415.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.1467, allocations: 29.7 kB / 415.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.988e-05/0.1468, allocations: 115.9 kB / 415.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.1469, allocations: 27.64 kB / 415.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.1469, allocations: 13.72 kB / 415.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.147, allocations: 326.8 kB / 415.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002215/0.1472, allocations: 75.94 kB / 415.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/0.1475, allocations: 112.1 kB / 415.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004487/0.1479, allocations: 193.8 kB / 416 MB, free: 8.012 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.148, allocations: 4 kB / 416 MB, free: 8.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005456/0.1485, allocations: 243.2 kB / 416.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.296e-05/0.1486, allocations: 33.7 kB / 416.3 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1486, allocations: 0 / 416.3 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.1486, allocations: 4 kB / 416.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.1488, allocations: 39.84 kB / 416.3 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.1488, allocations: 4.031 kB / 416.3 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/0.149, allocations: 43.75 kB / 416.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.149, allocations: 4 kB / 416.4 MB, free: 7.625 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.000108/0.1491, allocations: 121.8 kB / 416.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.1491, allocations: 15.81 kB / 416.5 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002052/0.1494, allocations: 102.5 kB / 416.6 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.1494, allocations: 0 / 416.6 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.1494, allocations: 4 kB / 416.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.1494, allocations: 3.938 kB / 416.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003874/0.1498, allocations: 330.4 kB / 416.9 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1498, allocations: 0 / 416.9 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000235/0.15, allocations: 36.03 kB / 417 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1501, allocations: 0 / 417 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.1501, allocations: 8 kB / 417 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.1501, allocations: 3.938 kB / 417 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.1501, allocations: 4 kB / 417 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008559/0.151, allocations: 310.7 kB / 417.3 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.064e-05/0.1511, allocations: 88.92 kB / 417.4 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.124e-05/0.1511, allocations: 4 kB / 417.4 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003066/0.1514, allocations: 27.91 kB / 417.4 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.1516, allocations: 23.92 kB / 417.4 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.1516, allocations: 8 kB / 417.4 MB, free: 6.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.181e-05/0.1517, allocations: 124.9 kB / 417.5 MB, free: 6.309 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1517, allocations: 0 / 417.5 MB, free: 6.309 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002792/0.152, allocations: 20 kB / 417.6 MB, free: 6.289 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.001038/0.153, allocations: 0.9343 MB / 418.5 MB, free: 5.312 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005311/0.1536, allocations: 227.2 kB / 418.7 MB, free: 5.078 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1536, allocations: 0 / 418.7 MB, free: 5.078 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002715/0.1539, allocations: 100.2 kB / 418.8 MB, free: 4.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.1542, allocations: 22.19 kB / 418.8 MB, free: 4.961 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0027/0.1569, allocations: 2.135 MB / 421 MB, free: 2.695 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.1572, allocations: 0.7121 MB / 421.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.411e-05/0.1573, allocations: 24.69 kB / 421.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.788e-05/0.1574, allocations: 35.42 kB / 421.7 MB, free: 1.898 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1574, allocations: 0 / 421.7 MB, free: 1.898 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3972/0.5545, allocations: 2.556 MB / 424.3 MB, free: 45.4 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001516/0.5547, allocations: 183.6 kB / 424.5 MB, free: 45.15 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.751/2.306, allocations: 2.75 kB / 424.5 MB, free: 45.15 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)