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.0008284/0.0008285, allocations: 91.77 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.0009118/0.000912, 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.404/1.404, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.2041/0.2041, allocations: 4.613 MB / 295.7 MB, free: 4.059 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003873/0.0003875, allocations: 8 kB / 357.8 MB, free: 2.43 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1146, allocations: 51.51 MB / 409.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Inputs_defined): time 0.003008/0.1177, allocations: 2.524 MB / 411.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009854/0.1187, allocations: 0.6469 MB / 412.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.1188, allocations: 4 kB / 412.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.119, allocations: 35.7 kB / 412.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001547/0.1191, allocations: 79.33 kB / 412.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.1194, allocations: 63.92 kB / 412.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003547/0.1197, allocations: 338.6 kB / 413 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00029/0.12, allocations: 143.6 kB / 413.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/0.1202, allocations: 111.6 kB / 413.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.1204, allocations: 119.5 kB / 413.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.416e-05/0.1204, allocations: 16 kB / 413.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.835e-05/0.1205, allocations: 16 kB / 413.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.415e-05/0.1205, allocations: 47.78 kB / 413.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.568e-05/0.1206, allocations: 81.58 kB / 413.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002718/0.1209, allocations: 299.5 kB / 413.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.1209, allocations: 0 / 413.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1209, allocations: 0 / 413.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.1209, allocations: 0 / 413.8 MB, free: 10.35 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.001039/0.122, allocations: 0.5902 MB / 414.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.122, allocations: 12.03 kB / 414.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.793e-05/0.1221, allocations: 66.47 kB / 414.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.361e-05/0.1222, allocations: 31.62 kB / 414.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.1225, allocations: 259.5 kB / 414.7 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.1225, allocations: 20.56 kB / 414.7 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.328e-05/0.1225, allocations: 28 kB / 414.8 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00059/0.1231, allocations: 323.5 kB / 415.1 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.1232, allocations: 0 / 415.1 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.009e-05/0.1232, allocations: 16 kB / 415.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.958e-06/0.1232, allocations: 4 kB / 415.1 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005801/0.1238, allocations: 270.1 kB / 415.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.1252, allocations: 1.017 MB / 416.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006932/0.1259, allocations: 299.2 kB / 416.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003106/0.1262, allocations: 157.2 kB / 416.8 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.1262, allocations: 4.188 kB / 416.8 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003859/0.1266, allocations: 187.6 kB / 417 MB, free: 6.898 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.613e-06/0.1266, allocations: 0 / 417 MB, free: 6.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009526/0.1276, allocations: 410 kB / 417.4 MB, free: 6.492 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.1277, allocations: 55.41 kB / 417.5 MB, free: 6.426 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002355/0.1279, allocations: 217 kB / 417.7 MB, free: 6.203 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.426e-05/0.1279, allocations: 29.7 kB / 417.7 MB, free: 6.168 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.1281, allocations: 172.1 kB / 417.9 MB, free: 5.996 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.51e-05/0.1281, allocations: 74.94 kB / 418 MB, free: 5.922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.539e-05/0.1282, allocations: 4 kB / 418 MB, free: 5.918 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1283, allocations: 338.8 kB / 418.3 MB, free: 5.578 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002831/0.1286, allocations: 119.9 kB / 418.4 MB, free: 5.461 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003012/0.1289, allocations: 159.3 kB / 418.6 MB, free: 5.293 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003072/0.1292, allocations: 158.6 kB / 418.7 MB, free: 5.129 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1293, allocations: 0 / 418.7 MB, free: 5.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006992/0.13, allocations: 377.9 kB / 419.1 MB, free: 4.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.613e-05/0.13, allocations: 37.69 kB / 419.1 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.13, allocations: 0 / 419.1 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.13, allocations: 0 / 419.1 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002969/0.1303, allocations: 75.83 kB / 419.2 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1304, allocations: 0 / 419.2 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002257/0.1306, allocations: 55.78 kB / 419.3 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.1306, allocations: 12 kB / 419.3 MB, free: 4.566 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 ($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 (29): * Single equations (assignments): 28 * 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.0001646/0.1308, allocations: 157.9 kB / 419.4 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.289e-05/0.1308, allocations: 19.81 kB / 419.4 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000668/0.1315, allocations: 328.5 kB / 419.8 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.1315, allocations: 0 / 419.8 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1315, allocations: 0 / 419.8 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.1315, allocations: 7.984 kB / 419.8 MB, free: 4.047 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000348/0.1319, allocations: 369.3 kB / 420.1 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1319, allocations: 0 / 420.1 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003016/0.1322, allocations: 67.89 kB / 420.2 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1322, allocations: 8 kB / 420.2 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.1323, allocations: 0 / 420.2 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1323, allocations: 0 / 420.2 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1323, allocations: 3.938 kB / 420.2 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009342/0.1332, allocations: 490.1 kB / 420.7 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.489e-05/0.1333, allocations: 104.8 kB / 420.8 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.751e-05/0.1333, allocations: 4 kB / 420.8 MB, free: 2.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.1335, allocations: 27.97 kB / 420.8 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.576e-05/0.1336, allocations: 31.97 kB / 420.9 MB, free: 2.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.1336, allocations: 7.984 kB / 420.9 MB, free: 2.871 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001261/0.1338, allocations: 156.5 kB / 421 MB, free: 2.719 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1338, allocations: 0 / 421 MB, free: 2.719 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002731/0.1341, allocations: 67.84 kB / 421.1 MB, free: 2.652 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 (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.001194/0.1353, allocations: 1.029 MB / 422.1 MB, free: 1.598 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006675/0.1359, allocations: 339.1 kB / 422.4 MB, free: 1.254 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.136, allocations: 4 kB / 422.4 MB, free: 1.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002848/0.1362, allocations: 140 kB / 422.6 MB, free: 1.113 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.1366, allocations: 33.12 kB / 422.6 MB, free: 1.082 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2081/0.3446, allocations: 1.733 MB / 424.3 MB, free: 45.37 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.3451, allocations: 0.7619 MB / 425.1 MB, free: 44.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002261/0.3453, allocations: 26.58 kB / 425.1 MB, free: 44.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000214/0.3455, allocations: 81.94 kB / 425.2 MB, free: 44.67 MB / 350.1 MB Notification: Performance of SimCode: time 1.443e-06/0.3456, allocations: 0.5938 kB / 425.2 MB, free: 44.67 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01471/0.3603, allocations: 4.662 MB / 429.9 MB, free: 44.48 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002141/0.3605, allocations: 182.4 kB / 430.1 MB, free: 44.24 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.838/2.199, allocations: 0 / 430.1 MB, free: 44.24 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/linux/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) Environment - environmentSimulation: