Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.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_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_ArtificialInputs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_ArtificialInputs",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.008154/0.008154, allocations: 104.8 kB / 15.74 MB, free: 5.996 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.001577/0.001577, allocations: 200 kB / 16.68 MB, free: 5.922 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02193/0.02193, allocations: 4.659 MB / 295.2 MB, free: 10.23 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 59.98 kB / 407.8 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1016, allocations: 50.51 MB / 458.3 MB, free: 9.016 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_ArtificialInputs): time 0.004312/0.106, allocations: 2.872 MB / 461.2 MB, free: 6.133 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.1074, allocations: 0.6779 MB / 461.9 MB, free: 5.449 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001357/0.1075, allocations: 11.94 kB / 461.9 MB, free: 5.438 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002232/0.1078, allocations: 43.58 kB / 461.9 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001646/0.108, allocations: 91.14 kB / 462 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.1083, allocations: 99.91 kB / 462.1 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004059/0.1087, allocations: 410.5 kB / 462.5 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003855/0.1091, allocations: 245.6 kB / 462.7 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002125/0.1093, allocations: 151.5 kB / 462.9 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002069/0.1095, allocations: 159.3 kB / 463 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.161e-05/0.1096, allocations: 44 kB / 463.1 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.624e-05/0.1097, allocations: 40 kB / 463.1 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.34e-05/0.1097, allocations: 83.75 kB / 463.2 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000179/0.1099, allocations: 175.2 kB / 463.4 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004659/0.1104, allocations: 438.3 kB / 463.8 MB, free: 3.496 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.1104, allocations: 4 kB / 463.8 MB, free: 3.492 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1104, allocations: 0 / 463.8 MB, free: 3.492 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.1104, allocations: 0 / 463.8 MB, free: 3.492 MB / 334.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.001298/0.1117, allocations: 0.6376 MB / 464.4 MB, free: 2.801 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.1118, allocations: 8.031 kB / 464.5 MB, free: 2.793 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.036e-05/0.1119, allocations: 58.72 kB / 464.5 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.954e-05/0.1119, allocations: 32.56 kB / 464.5 MB, free: 2.695 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003328/0.1123, allocations: 280.7 kB / 464.8 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.1123, allocations: 16.94 kB / 464.8 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.512e-05/0.1124, allocations: 24.38 kB / 464.9 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006446/0.113, allocations: 335.7 kB / 465.2 MB, free: 2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.113, allocations: 0 / 465.2 MB, free: 2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.138e-05/0.1131, allocations: 12 kB / 465.2 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/0.1131, allocations: 12 kB / 465.2 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000611/0.1137, allocations: 274 kB / 465.5 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001565/0.1153, allocations: 1.041 MB / 466.5 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007205/0.116, allocations: 306.6 kB / 466.8 MB, free: 300 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003218/0.1164, allocations: 160.8 kB / 467 MB, free: 136 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.1164, allocations: 0 / 467 MB, free: 136 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004286/0.1168, allocations: 193.6 kB / 467.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 2.945e-06/0.1169, allocations: 4 kB / 467.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009516/0.1178, allocations: 421.4 kB / 467.6 MB, free: 15.51 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.793e-05/0.1179, allocations: 59.41 kB / 467.6 MB, free: 15.44 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.1181, allocations: 225 kB / 467.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/0.1182, allocations: 29.7 kB / 467.9 MB, free: 15.17 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.1183, allocations: 176 kB / 468.1 MB, free: 15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.556e-05/0.1184, allocations: 66.92 kB / 468.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.817e-05/0.1185, allocations: 53.7 kB / 468.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000207/0.1187, allocations: 330.8 kB / 468.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003269/0.119, allocations: 135.9 kB / 468.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003043/0.1194, allocations: 159.3 kB / 468.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005705/0.1199, allocations: 315.5 kB / 469.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1199, allocations: 0 / 469.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008076/0.1208, allocations: 389.8 kB / 469.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.921e-05/0.1208, allocations: 33.7 kB / 469.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.1208, allocations: 0 / 469.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.1208, allocations: 4 kB / 469.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003276/0.1212, allocations: 75.81 kB / 469.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.1212, allocations: 0 / 469.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002641/0.1215, allocations: 35.73 kB / 469.6 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.1215, allocations: 8 kB / 469.6 MB, free: 13.36 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 (simFasBui.powElePul.count,$PRE.simFasBui.powElePul.count,simFasBui.powElePul.T_start,$PRE.simFasBui.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.0001722/0.1217, allocations: 170 kB / 469.8 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.903e-05/0.1217, allocations: 27.64 kB / 469.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000826/0.1226, allocations: 326.2 kB / 470.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.1226, allocations: 7.938 kB / 470.1 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1226, allocations: 0 / 470.1 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.1226, allocations: 0 / 470.1 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003837/0.123, allocations: 389.3 kB / 470.5 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.123, allocations: 0 / 470.5 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003151/0.1233, allocations: 63.83 kB / 470.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.1233, allocations: 4 kB / 470.6 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.1234, allocations: 4 kB / 470.6 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1234, allocations: 0 / 470.6 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1234, allocations: 0 / 470.6 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009661/0.1243, allocations: 496.6 kB / 471.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.1245, allocations: 108.7 kB / 471.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.156e-05/0.1245, allocations: 8 kB / 471.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.1247, allocations: 15.97 kB / 471.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.813e-05/0.1248, allocations: 32.03 kB / 471.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.1248, allocations: 4 kB / 471.2 MB, free: 11.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001476/0.125, allocations: 172.4 kB / 471.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.125, allocations: 0 / 471.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002889/0.1253, allocations: 67.84 kB / 471.5 MB, free: 11.41 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,simFasBui.powElePul.T_start,simFasBui.powElePul.count) * Number of discrete states: 1 (simFasBui.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.00124/0.1265, allocations: 1.038 MB / 472.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006998/0.1273, allocations: 355.3 kB / 472.9 MB, free: 9.984 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1273, allocations: 0 / 472.9 MB, free: 9.984 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003841/0.1277, allocations: 143.8 kB / 473 MB, free: 9.844 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.128, allocations: 42.84 kB / 473 MB, free: 9.805 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004314/0.1323, allocations: 2.937 MB / 476 MB, free: 6.758 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.1327, allocations: 0.7749 MB / 476.8 MB, free: 5.957 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000148/0.1328, allocations: 33.53 kB / 476.8 MB, free: 5.926 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.133, allocations: 83.41 kB / 476.9 MB, free: 5.844 MB / 350.1 MB Notification: Performance of SimCode: time 1.041e-06/0.133, allocations: 0 / 476.9 MB, free: 5.844 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02513/0.1581, allocations: 5.546 MB / 482.4 MB, free: 412 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.464/8.622, allocations: 14.94 kB / 482.4 MB, free: 400 kB / 350.1 MB (rm -f FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_SingleZone_ArtificialInputs_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_SingleZone_ArtificialInputs.fmu > FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe 2>&1)