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.001031/0.001031, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.000991/0.0009907, allocations: 168.7 kB / 15.95 MB, free: 200 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.413/1.413, allocations: 223.2 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.145/0.145, allocations: 4.618 MB / 295.7 MB, free: 4.105 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003185/0.0003185, allocations: 8 kB / 357.8 MB, free: 2.441 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1091, allocations: 51.49 MB / 409.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_ArtificialInputs): time 0.002795/0.1119, allocations: 2.536 MB / 411.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009146/0.1129, allocations: 0.6509 MB / 412.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.113, allocations: 4 kB / 412.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.1131, allocations: 43.69 kB / 412.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.1133, allocations: 67.34 kB / 412.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.1135, allocations: 71.91 kB / 412.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003346/0.1139, allocations: 350.6 kB / 413 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002791/0.1142, allocations: 173 kB / 413.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.1143, allocations: 107.6 kB / 413.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.1145, allocations: 115.5 kB / 413.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.342e-05/0.1145, allocations: 16 kB / 413.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.413e-05/0.1146, allocations: 12 kB / 413.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.115e-05/0.1146, allocations: 47.77 kB / 413.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.576e-05/0.1147, allocations: 77.58 kB / 413.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002678/0.115, allocations: 335.4 kB / 413.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.453e-06/0.115, allocations: 0 / 413.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.115, allocations: 0 / 413.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.115, allocations: 0 / 413.9 MB, free: 10.3 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.001009/0.116, allocations: 0.5947 MB / 414.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.1161, allocations: 8.031 kB / 414.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.516e-05/0.1162, allocations: 62.53 kB / 414.5 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.308e-05/0.1162, allocations: 31.62 kB / 414.5 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/0.1165, allocations: 271.4 kB / 414.8 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.1165, allocations: 24.55 kB / 414.8 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.469e-05/0.1166, allocations: 24 kB / 414.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006216/0.1172, allocations: 343.6 kB / 415.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.1172, allocations: 3.938 kB / 415.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.734e-05/0.1173, allocations: 4 kB / 415.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.1173, allocations: 11.98 kB / 415.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006232/0.1179, allocations: 306 kB / 415.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001395/0.1193, allocations: 1.053 MB / 416.6 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007085/0.1201, allocations: 315.2 kB / 416.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003188/0.1204, allocations: 177.1 kB / 417 MB, free: 6.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.1204, allocations: 8.125 kB / 417.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004228/0.1209, allocations: 203.4 kB / 417.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.733e-06/0.1209, allocations: 0 / 417.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009829/0.1219, allocations: 454 kB / 417.7 MB, free: 6.246 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.1219, allocations: 55.41 kB / 417.8 MB, free: 6.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.1221, allocations: 229 kB / 418 MB, free: 5.945 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.1222, allocations: 33.7 kB / 418 MB, free: 5.906 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.1223, allocations: 168 kB / 418.2 MB, free: 5.738 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.26e-05/0.1224, allocations: 78.94 kB / 418.3 MB, free: 5.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.947e-05/0.1224, allocations: 8 kB / 418.3 MB, free: 5.652 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.1225, allocations: 334.8 kB / 418.6 MB, free: 5.316 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002965/0.1228, allocations: 135.9 kB / 418.7 MB, free: 5.184 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003245/0.1232, allocations: 171.3 kB / 418.9 MB, free: 5.004 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003094/0.1235, allocations: 174.6 kB / 419.1 MB, free: 4.824 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1235, allocations: 0 / 419.1 MB, free: 4.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007434/0.1243, allocations: 409.9 kB / 419.5 MB, free: 4.414 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.198e-05/0.1243, allocations: 37.8 kB / 419.5 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.1243, allocations: 3.984 kB / 419.5 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.1243, allocations: 0 / 419.5 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000335/0.1247, allocations: 75.89 kB / 419.6 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.1247, allocations: 0 / 419.6 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/0.1249, allocations: 51.72 kB / 419.6 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.125, allocations: 11.98 kB / 419.6 MB, free: 4.23 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.simFasBui.powElePul.T_start,simFasBui.powElePul.T_start,$PRE.simFasBui.powElePul.count,simFasBui.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.000162/0.1251, allocations: 165.9 kB / 419.8 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.017e-05/0.1252, allocations: 19.81 kB / 419.8 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007264/0.1259, allocations: 352.6 kB / 420.2 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.1259, allocations: 0 / 420.2 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1259, allocations: 4 kB / 420.2 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1259, allocations: 4 kB / 420.2 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003742/0.1263, allocations: 381.3 kB / 420.5 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.1263, allocations: 8 kB / 420.5 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003659/0.1267, allocations: 67.83 kB / 420.6 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.1267, allocations: 4 kB / 420.6 MB, free: 3.172 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.1268, allocations: 3.984 kB / 420.6 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.1268, allocations: 0 / 420.6 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1268, allocations: 4 kB / 420.6 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.1278, allocations: 0.5215 MB / 421.1 MB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.364e-05/0.1279, allocations: 108.8 kB / 421.3 MB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.797e-05/0.1279, allocations: 4 kB / 421.3 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.1281, allocations: 31.97 kB / 421.3 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.807e-05/0.1282, allocations: 23.95 kB / 421.3 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.1282, allocations: 8 kB / 421.3 MB, free: 2.434 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001423/0.1284, allocations: 172.4 kB / 421.5 MB, free: 2.266 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1284, allocations: 7.938 kB / 421.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000294/0.1287, allocations: 67.84 kB / 421.6 MB, free: 2.191 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 (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.001297/0.13, allocations: 1.072 MB / 422.6 MB, free: 1.094 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007261/0.1307, allocations: 371.2 kB / 423 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1307, allocations: 0 / 423 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003261/0.1311, allocations: 163.9 kB / 423.2 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.1314, allocations: 34.77 kB / 423.2 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2041/0.3355, allocations: 1.827 MB / 425 MB, free: 46.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/0.3358, allocations: 0.7749 MB / 425.8 MB, free: 45.33 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001581/0.336, allocations: 35 kB / 425.8 MB, free: 45.33 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.3361, allocations: 78.44 kB / 425.9 MB, free: 45.32 MB / 350.1 MB Notification: Performance of SimCode: time 3.256e-06/0.3361, allocations: 3.844 kB / 425.9 MB, free: 45.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01532/0.3515, allocations: 4.868 MB / 430.8 MB, free: 45.12 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000139/0.3517, allocations: 198.9 kB / 431 MB, free: 44.88 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.756/2.108, allocations: 0 / 431 MB, free: 44.88 MB / 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/linux/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) Environment - environmentSimulation: