Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.TwoZone_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.TwoZone_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_TwoZone_ArtificialInputs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.TwoZone_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_TwoZone_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.00105/0.00105, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00107/0.00107, allocations: 193.9 kB / 16.14 MB, free: 6.715 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.294/1.294, allocations: 222.9 MB / 239.8 MB, free: 4.645 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1302/0.1302, allocations: 4.633 MB / 294.6 MB, free: 3.223 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 59.91 kB / 356 MB, free: 3.004 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08635/0.08749, allocations: 50.51 MB / 406.5 MB, free: 460 kB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.004572/0.09211, allocations: 4.196 MB / 410.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.09328, allocations: 0.8881 MB / 411.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.09343, allocations: 8 kB / 411.5 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001877/0.09363, allocations: 67.47 kB / 411.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002278/0.09387, allocations: 138.9 kB / 411.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003276/0.09421, allocations: 159.8 kB / 411.9 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00053/0.09475, allocations: 0.7011 MB / 412.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005563/0.09531, allocations: 469.9 kB / 413.1 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002349/0.09555, allocations: 235.2 kB / 413.3 MB, free: 9.562 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002459/0.09581, allocations: 274.7 kB / 413.6 MB, free: 9.293 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.327e-05/0.09588, allocations: 44 kB / 413.6 MB, free: 9.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.991e-05/0.09596, allocations: 48 kB / 413.7 MB, free: 9.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.127e-05/0.09606, allocations: 115.6 kB / 413.8 MB, free: 9.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002542/0.09632, allocations: 306.5 kB / 414.1 MB, free: 8.789 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005926/0.09692, allocations: 0.8026 MB / 414.9 MB, free: 7.984 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.09693, allocations: 0 / 414.9 MB, free: 7.984 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.001e-06/0.09694, allocations: 0 / 414.9 MB, free: 7.984 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.09695, allocations: 0 / 414.9 MB, free: 7.984 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001465/0.09842, allocations: 0.8951 MB / 415.8 MB, free: 7.031 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.09846, allocations: 8.031 kB / 415.8 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.51e-05/0.09856, allocations: 86.7 kB / 415.9 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.911e-05/0.09867, allocations: 60.28 kB / 415.9 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000401/0.09907, allocations: 375.2 kB / 416.3 MB, free: 6.469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/0.09911, allocations: 37.38 kB / 416.3 MB, free: 6.434 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.817e-05/0.0992, allocations: 52.28 kB / 416.4 MB, free: 6.383 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.1002, allocations: 0.5849 MB / 417 MB, free: 5.781 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.1002, allocations: 4 kB / 417 MB, free: 5.777 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.68e-05/0.1003, allocations: 24 kB / 417 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.1003, allocations: 12 kB / 417 MB, free: 5.742 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009292/0.1012, allocations: 475.6 kB / 417.5 MB, free: 5.277 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002254/0.1035, allocations: 1.899 MB / 419.4 MB, free: 3.285 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007044/0.1042, allocations: 421.7 kB / 419.8 MB, free: 2.855 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004738/0.1047, allocations: 290.2 kB / 420.1 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.295e-05/0.1047, allocations: 4.281 kB / 420.1 MB, free: 2.562 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005351/0.1053, allocations: 313.8 kB / 420.4 MB, free: 2.238 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 1.473e-06/0.1053, allocations: 0 / 420.4 MB, free: 2.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.001305/0.1066, allocations: 0.651 MB / 421 MB, free: 1.582 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.1067, allocations: 85.11 kB / 421.1 MB, free: 1.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000301/0.107, allocations: 336.5 kB / 421.4 MB, free: 1.141 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.582e-05/0.107, allocations: 33.7 kB / 421.5 MB, free: 1.102 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.1072, allocations: 259.9 kB / 421.7 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.146e-05/0.1073, allocations: 122.2 kB / 421.8 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.1074, allocations: 78.03 kB / 421.9 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.1075, allocations: 354.7 kB / 422.3 MB, free: 288 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004015/0.1079, allocations: 204.8 kB / 422.5 MB, free: 84 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.13/0.238, allocations: 272.7 kB / 422.7 MB, free: 48.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008665/0.2389, allocations: 0.504 MB / 423.2 MB, free: 48.26 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.2389, allocations: 4.281 kB / 423.2 MB, free: 48.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001078/0.24, allocations: 0.5905 MB / 423.8 MB, free: 48.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.24, allocations: 37.94 kB / 423.9 MB, free: 48.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.24, allocations: 3.344 kB / 423.9 MB, free: 48.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.24, allocations: 3.828 kB / 423.9 MB, free: 48.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005285/0.2406, allocations: 125.9 kB / 424 MB, free: 48.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.2406, allocations: 5.109 kB / 424 MB, free: 48.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003472/0.2409, allocations: 66.19 kB / 424.1 MB, free: 48.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.319e-05/0.241, allocations: 20.58 kB / 424.1 MB, free: 48.15 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (51): * Single equations (assignments): 50 * 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.0002175/0.2412, allocations: 223.8 kB / 424.3 MB, free: 48.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.24e-05/0.2413, allocations: 36.59 kB / 424.3 MB, free: 48.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006819/0.2419, allocations: 460.4 kB / 424.8 MB, free: 48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.242, allocations: 3.219 kB / 424.8 MB, free: 48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.242, allocations: 0 / 424.8 MB, free: 48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.242, allocations: 3.875 kB / 424.8 MB, free: 48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004747/0.2425, allocations: 0.5963 MB / 425.4 MB, free: 47.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.2425, allocations: 0 / 425.4 MB, free: 47.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000499/0.243, allocations: 113.4 kB / 425.5 MB, free: 47.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.243, allocations: 3.656 kB / 425.5 MB, free: 47.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.85e-05/0.243, allocations: 21.42 kB / 425.5 MB, free: 47.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.243, allocations: 0 / 425.5 MB, free: 47.81 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.243, allocations: 0 / 425.5 MB, free: 47.81 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.2442, allocations: 0.7786 MB / 426.3 MB, free: 47.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.497e-05/0.2442, allocations: 119.1 kB / 426.4 MB, free: 47.42 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.539e-05/0.2443, allocations: 14.27 kB / 426.4 MB, free: 47.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000248/0.2446, allocations: 36.73 kB / 426.5 MB, free: 47.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.981e-05/0.2447, allocations: 33.67 kB / 426.5 MB, free: 47.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.2447, allocations: 14.31 kB / 426.5 MB, free: 47.4 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001671/0.2449, allocations: 241.8 kB / 426.7 MB, free: 47.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2449, allocations: 0 / 426.7 MB, free: 47.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003383/0.2452, allocations: 139.3 kB / 426.9 MB, free: 47.25 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (bui.zon1.capZon.heaPor.T,bui.zon1.capWal.heaPor.T,bui.zon1.capInt.heaPor.T,bui.zon2.capZon.heaPor.T,bui.bou.capWal.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 (38): * Single equations (assignments): 36 * 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.001319/0.2465, allocations: 1.327 MB / 428.2 MB, free: 46.37 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007896/0.2473, allocations: 0.5245 MB / 428.7 MB, free: 46.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2473, allocations: 0 / 428.7 MB, free: 46.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003799/0.2477, allocations: 246 kB / 429 MB, free: 46.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.2481, allocations: 63.23 kB / 429 MB, free: 46.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00491/0.253, allocations: 4.655 MB / 433.7 MB, free: 43.26 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.2532, allocations: 0.8655 MB / 434.6 MB, free: 42.54 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001893/0.2534, allocations: 57.11 kB / 434.6 MB, free: 42.53 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001918/0.2536, allocations: 162.1 kB / 434.8 MB, free: 42.41 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2536, allocations: 4 kB / 434.8 MB, free: 42.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5083/0.7619, allocations: 8.154 MB / 442.9 MB, free: 41.75 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/0.7622, allocations: 193.6 kB / 443.1 MB, free: 41.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.085/2.847, allocations: 5.844 kB / 443.1 MB, free: 41.5 MB / 350.1 MB (rm -f FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe ; mkfifo FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe >> ../files/FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_TwoZone_ArtificialInputs_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_TwoZone_ArtificialInputs.fmu > FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe 2>&1)