Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.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_Inputs_defined,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Inputs_defined,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined",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.00127/0.00127, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001298/0.001298, allocations: 191.2 kB / 16.14 MB, free: 6.734 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.266/1.266, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1312/0.1312, allocations: 4.624 MB / 294.6 MB, free: 3.176 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001439, allocations: 55.91 kB / 355.9 MB, free: 2.992 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1052, allocations: 50.5 MB / 406.5 MB, free: 452 kB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Inputs_defined): time 0.0044/0.1096, allocations: 3.017 MB / 409.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.1109, allocations: 0.6739 MB / 410.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002505/0.1111, allocations: 11.94 kB / 410.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001756/0.1113, allocations: 31.77 kB / 410.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001951/0.1115, allocations: 71.39 kB / 410.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.1118, allocations: 91.86 kB / 410.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003106/0.1122, allocations: 350.6 kB / 410.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002907/0.1125, allocations: 180.9 kB / 410.9 MB, free: 12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001706/0.1126, allocations: 123.5 kB / 411 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.1128, allocations: 151.3 kB / 411.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.662e-05/0.1129, allocations: 24 kB / 411.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.073e-05/0.1129, allocations: 20 kB / 411.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.254e-05/0.113, allocations: 63.75 kB / 411.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.1131, allocations: 155.2 kB / 411.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002865/0.1134, allocations: 379 kB / 411.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1134, allocations: 0 / 411.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.62e-07/0.1134, allocations: 0 / 411.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.1134, allocations: 0 / 411.8 MB, free: 11.1 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.001043/0.1145, allocations: 0.6293 MB / 412.4 MB, free: 10.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.1145, allocations: 12.03 kB / 412.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.429e-05/0.1146, allocations: 62.72 kB / 412.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.21e-05/0.1147, allocations: 32.56 kB / 412.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.1149, allocations: 268.6 kB / 412.8 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.115, allocations: 24.94 kB / 412.8 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.321e-05/0.115, allocations: 24.38 kB / 412.8 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000577/0.1156, allocations: 307.8 kB / 413.1 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1156, allocations: 3.938 kB / 413.1 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.746e-05/0.1156, allocations: 12 kB / 413.1 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.1157, allocations: 4 kB / 413.1 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005569/0.1162, allocations: 246.1 kB / 413.4 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001277/0.1175, allocations: 1.005 MB / 414.4 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006439/0.1182, allocations: 282.6 kB / 414.6 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000289/0.1185, allocations: 144.8 kB / 414.8 MB, free: 7.883 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.1185, allocations: 4 kB / 414.8 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003592/0.1189, allocations: 181.8 kB / 415 MB, free: 7.691 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.543e-06/0.1189, allocations: 0 / 415 MB, free: 7.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0008691/0.1197, allocations: 377.5 kB / 415.3 MB, free: 7.316 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.1198, allocations: 55.41 kB / 415.4 MB, free: 7.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.12, allocations: 220.9 kB / 415.6 MB, free: 7.027 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.12, allocations: 29.7 kB / 415.6 MB, free: 6.992 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.752e-05/0.1201, allocations: 176.1 kB / 415.8 MB, free: 6.816 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.379e-05/0.1202, allocations: 71.02 kB / 415.9 MB, free: 6.746 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.282e-05/0.1203, allocations: 49.61 kB / 415.9 MB, free: 6.691 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1204, allocations: 334.8 kB / 416.3 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002725/0.1207, allocations: 111.9 kB / 416.4 MB, free: 6.246 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002731/0.121, allocations: 147.4 kB / 416.5 MB, free: 6.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005188/0.1215, allocations: 281.9 kB / 416.8 MB, free: 5.793 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1215, allocations: 4 kB / 416.8 MB, free: 5.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006577/0.1222, allocations: 353.9 kB / 417.1 MB, free: 5.434 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.1222, allocations: 29.7 kB / 417.2 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1222, allocations: 8 kB / 417.2 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.1222, allocations: 0 / 417.2 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002922/0.1225, allocations: 71.98 kB / 417.2 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.1225, allocations: 4 kB / 417.2 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/0.1228, allocations: 35.81 kB / 417.3 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.1228, allocations: 8 kB / 417.3 MB, free: 5.273 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 (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 (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.0001347/0.1229, allocations: 154 kB / 417.4 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.438e-05/0.123, allocations: 31.66 kB / 417.5 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006468/0.1236, allocations: 304.5 kB / 417.8 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.1236, allocations: 0 / 417.8 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1236, allocations: 0 / 417.8 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1237, allocations: 4 kB / 417.8 MB, free: 4.773 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003089/0.124, allocations: 369.2 kB / 418.1 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.124, allocations: 0 / 418.1 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003058/0.1243, allocations: 67.89 kB / 418.2 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1243, allocations: 0 / 418.2 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.1243, allocations: 8 kB / 418.2 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1243, allocations: 0 / 418.2 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1243, allocations: 3.938 kB / 418.2 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000889/0.1252, allocations: 455.3 kB / 418.6 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.937e-05/0.1253, allocations: 104.8 kB / 418.8 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.587e-05/0.1253, allocations: 4 kB / 418.8 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.1255, allocations: 19.97 kB / 418.8 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.63e-05/0.1256, allocations: 28.03 kB / 418.8 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.1256, allocations: 11.98 kB / 418.8 MB, free: 3.645 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001286/0.1258, allocations: 156.5 kB / 419 MB, free: 3.488 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1258, allocations: 0 / 419 MB, free: 3.488 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.126, allocations: 71.75 kB / 419 MB, free: 3.418 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,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 (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.001083/0.1271, allocations: 0.983 MB / 420 MB, free: 2.406 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000597/0.1277, allocations: 323.2 kB / 420.3 MB, free: 2.078 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1278, allocations: 0 / 420.3 MB, free: 2.078 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002731/0.128, allocations: 131.8 kB / 420.5 MB, free: 1.949 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.1283, allocations: 38.23 kB / 420.5 MB, free: 1.914 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1665/0.2949, allocations: 2.901 MB / 423.4 MB, free: 47.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/0.2951, allocations: 0.7605 MB / 424.2 MB, free: 46.71 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001543/0.2953, allocations: 26.48 kB / 424.2 MB, free: 46.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.2954, allocations: 79.56 kB / 424.3 MB, free: 46.71 MB / 350.1 MB Notification: Performance of SimCode: time 7.72e-07/0.2954, allocations: 0.75 kB / 424.3 MB, free: 46.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7707/1.066, allocations: 4.805 MB / 429.1 MB, free: 46.43 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001853/1.066, allocations: 209 kB / 429.3 MB, free: 46.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.799/2.865, allocations: 0 / 429.3 MB, free: 46.18 MB / 350.1 MB (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined.fmu > FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe 2>&1)