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.001023/0.001023, 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.001051/0.001052, allocations: 191.7 kB / 16.25 MB, free: 6.629 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.235/1.235, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1328/0.1328, allocations: 4.621 MB / 294.7 MB, free: 3.137 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001086/0.001087, allocations: 60.09 kB / 356.1 MB, free: 2.812 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08186/0.08296, allocations: 50.51 MB / 406.6 MB, free: 260 kB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.004615/0.08761, allocations: 4.21 MB / 410.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.08878, allocations: 0.888 MB / 411.7 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/0.08893, allocations: 11.94 kB / 411.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001835/0.08913, allocations: 59.55 kB / 411.8 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000228/0.08936, allocations: 138.9 kB / 411.9 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003153/0.08968, allocations: 159.8 kB / 412.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005941/0.09029, allocations: 0.7519 MB / 412.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005967/0.09089, allocations: 0.5158 MB / 413.4 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002567/0.09116, allocations: 275.2 kB / 413.6 MB, free: 9.211 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002794/0.09144, allocations: 294.8 kB / 413.9 MB, free: 8.922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.384e-05/0.09154, allocations: 84 kB / 414 MB, free: 8.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.937e-05/0.09164, allocations: 92 kB / 414.1 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.09175, allocations: 151.5 kB / 414.2 MB, free: 8.602 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002655/0.09202, allocations: 342.6 kB / 414.6 MB, free: 8.266 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005971/0.09263, allocations: 0.8221 MB / 415.4 MB, free: 7.441 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.09264, allocations: 4 kB / 415.4 MB, free: 7.438 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.09264, allocations: 0 / 415.4 MB, free: 7.438 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.09266, allocations: 0 / 415.4 MB, free: 7.438 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.001373/0.09403, allocations: 0.8912 MB / 416.3 MB, free: 6.488 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.09407, allocations: 8.031 kB / 416.3 MB, free: 6.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.699e-05/0.09416, allocations: 90.7 kB / 416.4 MB, free: 6.383 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.104e-05/0.09426, allocations: 64.28 kB / 416.4 MB, free: 6.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000369/0.09464, allocations: 371.2 kB / 416.8 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/0.09467, allocations: 37.38 kB / 416.8 MB, free: 5.887 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.119e-05/0.09476, allocations: 52.28 kB / 416.9 MB, free: 5.836 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009729/0.09574, allocations: 0.5888 MB / 417.5 MB, free: 5.234 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.09576, allocations: 4 kB / 417.5 MB, free: 5.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.433e-05/0.09581, allocations: 20 kB / 417.5 MB, free: 5.211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.09583, allocations: 12 kB / 417.5 MB, free: 5.199 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008614/0.09669, allocations: 471.6 kB / 418 MB, free: 4.734 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002172/0.09887, allocations: 1.902 MB / 419.9 MB, free: 2.738 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000707/0.09959, allocations: 432 kB / 420.3 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004601/0.1001, allocations: 290.2 kB / 420.6 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.254e-05/0.1001, allocations: 4.281 kB / 420.6 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005263/0.1006, allocations: 309.8 kB / 420.9 MB, free: 1.691 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 1.573e-06/0.1007, allocations: 0 / 420.9 MB, free: 1.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.001251/0.1019, allocations: 0.6588 MB / 421.6 MB, free: 1.027 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.102, allocations: 85.11 kB / 421.6 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002928/0.1023, allocations: 336.5 kB / 422 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.201e-05/0.1023, allocations: 33.7 kB / 422 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.1025, allocations: 255.9 kB / 422.2 MB, free: 300 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.469e-05/0.1026, allocations: 130.2 kB / 422.4 MB, free: 168 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.1027, allocations: 78.03 kB / 422.5 MB, free: 80 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.1684/0.2711, allocations: 350.7 kB / 422.8 MB, free: 48.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008876/0.272, allocations: 200.9 kB / 423 MB, free: 48.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007329/0.2727, allocations: 277 kB / 423.3 MB, free: 48.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001471/0.2742, allocations: 0.4934 MB / 423.8 MB, free: 48.08 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.2743, allocations: 1.812 kB / 423.8 MB, free: 48.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001795/0.2761, allocations: 0.5955 MB / 424.4 MB, free: 48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.09e-05/0.2761, allocations: 37.2 kB / 424.4 MB, free: 47.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.2761, allocations: 0 / 424.4 MB, free: 47.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.2762, allocations: 6.562 kB / 424.4 MB, free: 47.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009101/0.2771, allocations: 123.2 kB / 424.5 MB, free: 47.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.522e-05/0.2771, allocations: 7.625 kB / 424.5 MB, free: 47.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000617/0.2778, allocations: 73.91 kB / 424.6 MB, free: 47.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-05/0.2778, allocations: 13 kB / 424.6 MB, free: 47.97 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.0003203/0.2782, allocations: 222.9 kB / 424.8 MB, free: 47.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.74e-05/0.2782, allocations: 32.66 kB / 424.9 MB, free: 47.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001146/0.2794, allocations: 460.3 kB / 425.3 MB, free: 47.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.2794, allocations: 4.969 kB / 425.3 MB, free: 47.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.2794, allocations: 7.062 kB / 425.3 MB, free: 47.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.2795, allocations: 3.75 kB / 425.3 MB, free: 47.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007418/0.2802, allocations: 0.5989 MB / 425.9 MB, free: 47.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.2802, allocations: 3.781 kB / 425.9 MB, free: 47.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008998/0.2811, allocations: 111.6 kB / 426 MB, free: 47.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.2812, allocations: 0 / 426 MB, free: 47.56 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-05/0.2812, allocations: 10 kB / 426 MB, free: 47.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.2812, allocations: 0 / 426 MB, free: 47.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.2812, allocations: 3.938 kB / 426 MB, free: 47.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00207/0.2833, allocations: 0.7775 MB / 426.8 MB, free: 47.24 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.885e-05/0.2834, allocations: 118.2 kB / 426.9 MB, free: 47.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.505e-05/0.2835, allocations: 7.188 kB / 426.9 MB, free: 47.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004201/0.284, allocations: 40.56 kB / 427 MB, free: 47.13 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.2841, allocations: 37.53 kB / 427 MB, free: 47.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.126e-05/0.2842, allocations: 14.09 kB / 427 MB, free: 47.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000302/0.2845, allocations: 242.4 kB / 427.3 MB, free: 46.99 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.2845, allocations: 3.031 kB / 427.3 MB, free: 46.99 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006101/0.2851, allocations: 137.4 kB / 427.4 MB, free: 46.97 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.002247/0.2874, allocations: 1.328 MB / 428.7 MB, free: 46.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009472/0.2884, allocations: 0.5572 MB / 429.3 MB, free: 45.88 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2884, allocations: 3.375 kB / 429.3 MB, free: 45.88 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003871/0.2888, allocations: 247.8 kB / 429.5 MB, free: 45.81 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.2891, allocations: 60.83 kB / 429.6 MB, free: 45.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005018/0.2942, allocations: 4.663 MB / 434.3 MB, free: 42.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/0.2944, allocations: 0.8625 MB / 435.1 MB, free: 42.26 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001959/0.2946, allocations: 55.78 kB / 435.2 MB, free: 42.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/0.2948, allocations: 159.1 kB / 435.3 MB, free: 42.13 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2948, allocations: 4 kB / 435.3 MB, free: 42.13 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01673/0.3115, allocations: 8.358 MB / 443.7 MB, free: 41.48 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00014/0.3117, allocations: 196.2 kB / 443.9 MB, free: 41.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.709/2.021, allocations: 1.094 kB / 443.9 MB, free: 41.23 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)