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.001087/0.001087, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001181/0.001181, allocations: 192.9 kB / 16.25 MB, free: 6.625 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.232/1.232, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1318/0.1318, allocations: 4.63 MB / 294.7 MB, free: 3.07 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001045/0.001045, allocations: 59.91 kB / 356.1 MB, free: 2.82 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08012/0.08118, allocations: 50.5 MB / 406.6 MB, free: 276 kB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_ArtificialInputs): time 0.00371/0.08492, allocations: 3.017 MB / 409.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009452/0.08588, allocations: 0.6662 MB / 410.3 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.086, allocations: 7.938 kB / 410.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001603/0.08617, allocations: 31.77 kB / 410.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001645/0.08635, allocations: 79.39 kB / 410.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003107/0.08666, allocations: 95.86 kB / 410.5 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004598/0.08713, allocations: 406.6 kB / 410.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004283/0.08757, allocations: 245.6 kB / 411.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002467/0.08783, allocations: 147.6 kB / 411.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/0.08803, allocations: 163.3 kB / 411.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.832e-05/0.0881, allocations: 40 kB / 411.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.162e-05/0.08817, allocations: 44 kB / 411.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.774e-05/0.08826, allocations: 79.77 kB / 411.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001761/0.08844, allocations: 171.3 kB / 411.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004277/0.08887, allocations: 423 kB / 412.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.08889, allocations: 4 kB / 412.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.08889, allocations: 3.938 kB / 412.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.08891, allocations: 0 / 412.2 MB, free: 10.66 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.001155/0.09007, allocations: 0.6415 MB / 412.9 MB, free: 9.961 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.09012, allocations: 8.031 kB / 412.9 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.639e-05/0.09019, allocations: 62.73 kB / 412.9 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.44e-05/0.09026, allocations: 32.56 kB / 413 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002793/0.09055, allocations: 276.7 kB / 413.2 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.803e-05/0.09059, allocations: 20.94 kB / 413.3 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.835e-05/0.09064, allocations: 24.38 kB / 413.3 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006125/0.09126, allocations: 339.7 kB / 413.6 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.09128, allocations: 0 / 413.6 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.956e-05/0.09131, allocations: 12 kB / 413.6 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.138e-06/0.09133, allocations: 8 kB / 413.6 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005953/0.09193, allocations: 278 kB / 413.9 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001427/0.09337, allocations: 1.06 MB / 415 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006936/0.09407, allocations: 298.6 kB / 415.3 MB, free: 7.438 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003356/0.09442, allocations: 161.7 kB / 415.4 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.016e-05/0.09446, allocations: 4 kB / 415.4 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003812/0.09485, allocations: 196.6 kB / 415.6 MB, free: 7.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.492e-06/0.09486, allocations: 0 / 415.6 MB, free: 7.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0008964/0.09576, allocations: 418.2 kB / 416 MB, free: 6.656 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.0958, allocations: 55.41 kB / 416.1 MB, free: 6.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.096, allocations: 236.9 kB / 416.3 MB, free: 6.352 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.09604, allocations: 29.7 kB / 416.3 MB, free: 6.316 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.454e-05/0.09614, allocations: 168.1 kB / 416.5 MB, free: 6.148 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.472e-05/0.09621, allocations: 71 kB / 416.6 MB, free: 6.078 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.636e-05/0.09631, allocations: 53.61 kB / 416.6 MB, free: 6.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.09642, allocations: 338.8 kB / 416.9 MB, free: 5.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002852/0.09671, allocations: 123.9 kB / 417.1 MB, free: 5.559 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002924/0.09701, allocations: 163.3 kB / 417.2 MB, free: 5.387 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005551/0.09757, allocations: 301.9 kB / 417.5 MB, free: 5.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.09758, allocations: 0 / 417.5 MB, free: 5.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006901/0.09828, allocations: 389.9 kB / 417.9 MB, free: 4.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.23e-05/0.09833, allocations: 33.69 kB / 417.9 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.09834, allocations: 4 kB / 417.9 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.09836, allocations: 0 / 417.9 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002974/0.09866, allocations: 67.98 kB / 418 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.09868, allocations: 4 kB / 418 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/0.0989, allocations: 35.81 kB / 418 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.09894, allocations: 12 kB / 418.1 MB, free: 4.52 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.0001506/0.09909, allocations: 164.2 kB / 418.2 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.596e-05/0.09913, allocations: 27.66 kB / 418.2 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006791/0.09982, allocations: 341.2 kB / 418.6 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.09983, allocations: 0 / 418.6 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.09984, allocations: 0 / 418.6 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.09985, allocations: 4 kB / 418.6 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003333/0.1002, allocations: 385.2 kB / 419 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.898e-06/0.1002, allocations: 4 kB / 419 MB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002988/0.1005, allocations: 59.89 kB / 419 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1005, allocations: 0 / 419 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.1005, allocations: 12 kB / 419 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.1006, allocations: 0 / 419 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1006, allocations: 3.938 kB / 419 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009097/0.1015, allocations: 0.5057 MB / 419.5 MB, free: 2.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.223e-05/0.1016, allocations: 100.8 kB / 419.6 MB, free: 2.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.685e-05/0.1016, allocations: 4 kB / 419.6 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.1018, allocations: 23.97 kB / 419.7 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.842e-05/0.1019, allocations: 23.97 kB / 419.7 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.1019, allocations: 12.06 kB / 419.7 MB, free: 2.777 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001334/0.102, allocations: 168.5 kB / 419.9 MB, free: 2.609 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.102, allocations: 0 / 419.9 MB, free: 2.609 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002733/0.1023, allocations: 71.75 kB / 419.9 MB, free: 2.539 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.001153/0.1035, allocations: 1.038 MB / 421 MB, free: 1.473 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006756/0.1042, allocations: 367.2 kB / 421.3 MB, free: 1.102 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1042, allocations: 4.062 kB / 421.3 MB, free: 1.098 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002936/0.1045, allocations: 147.2 kB / 421.5 MB, free: 0.957 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000294/0.1048, allocations: 32.42 kB / 421.5 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1376/0.2423, allocations: 3.028 MB / 424.5 MB, free: 47.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001521/0.2425, allocations: 0.774 MB / 425.3 MB, free: 46.9 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001446/0.2427, allocations: 32.27 kB / 425.3 MB, free: 46.9 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.2428, allocations: 80.19 kB / 425.4 MB, free: 46.89 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2428, allocations: 0.5625 kB / 425.4 MB, free: 46.89 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01434/0.2571, allocations: 5.178 MB / 430.6 MB, free: 46.6 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001271/0.2573, allocations: 203.9 kB / 430.8 MB, free: 46.35 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.755/2.012, allocations: 0 / 430.8 MB, free: 46.35 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/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)